hello All,
My application collects Beacons Advertisements and does http Post to send them to web Server.
But the beacon data is coming at high speed and http Post is not capable to handing this data, The app crashes after 20minitues
I am using Queue to collect data with 2000 items
I would like to know Any other technique
Pushing beacon data to WebServer
Re: Pushing beacon data to WebServer
1) Web socket.
2) Possibly MQTT (which uses Web Sockets)
3) Propriety TCP (would require an application on your server)
There is a lot more handshaking with POST/GET than websockets. Its the latency and round trips which kills and the transaction ain't over until...etc.
Websockets allow you to stream and so as long as the average bandwidth is ok.
Still, I do not understand why you crash.
2) Possibly MQTT (which uses Web Sockets)
3) Propriety TCP (would require an application on your server)
There is a lot more handshaking with POST/GET than websockets. Its the latency and round trips which kills and the transaction ain't over until...etc.
Websockets allow you to stream and so as long as the average bandwidth is ok.
Still, I do not understand why you crash.
& I also believe that IDF CAN should be fixed.
Re: Pushing beacon data to WebServer
hello Peter,
I was using http_client to post data to web server.
Bluetooth data is coming at high speed.
I am using Queue with 1000Items to collect bluetooth data. This Queue gets filled in no time.Then I increased t0 2000
But the time esp does one Post, Bluetooth data would pile up.. and eventually crash.
Now I switched to MQTT.
How do I handle high speed data coming...
I am send all data to xQueue but how many Items do I need to configure i am not understanding.
I was using http_client to post data to web server.
Bluetooth data is coming at high speed.
I am using Queue with 1000Items to collect bluetooth data. This Queue gets filled in no time.Then I increased t0 2000
But the time esp does one Post, Bluetooth data would pile up.. and eventually crash.
Now I switched to MQTT.
How do I handle high speed data coming...
I am send all data to xQueue but how many Items do I need to configure i am not understanding.
Who is online
Users browsing this forum: aliarifat794, Baidu [Spider], Bing [Bot] and 123 guests