Continuous data-streaming with minimal delay

I would like to exchange a data-packages every 2s over a cellular connection to the Notehub. Its a two-way communication that requires a download and upload with a package size of 100bytes. The resulting average baud-rate is on the order of 800bit/s, which is well within the capabilities of a cellular connection.

I worked through the initial example and noticed that each note being sent takes over 10s to send. Is there a way to enable a synch every 2 seconds?

1 Like

Hi @mprevisic,

If you use a web.post instead of a note.add request, you’ll see much reduced latency. However, just be aware that there are some considerations when using the web.* requests, so make sure you consult the docs on this topic!

Thanks,
Rob

Rob,

Thanks that was very helpful and reduced my latency to acceptable levels!

Mirko

2 Likes