3 ms·
Websockets are known to happily drop packages in bad connectivity situations. I'd prefer something more robust like mqtt or stomp over ws.
by nurettin 8y ago
Websockets are known to happily drop packages in bad connectivity situations. I'd prefer something more robust like mqtt or stomp over ws.
- rcfox 8y agoYou have to try pretty hard to get bad connectivity to localhost though...
- Silixon 8y agoThere's a code golf problem in there. My money's on sed and /etc/network/interfaces.
- a_t48 8y agoWhy is this? They are based on TCP. Because of a send buffer being full?
- nurettin 8y agoTCP relies on timeouts when it receives no ack, so when you reach timeout and you have no retry logic, packet is gone.