|
|
|
|
|
by bluepizza
532 days ago
|
|
My understanding is that long polling has these issues handled by assuming the connection will be regularly dropped. Clients using mobile phones tend to have their IPs rapidly changed in sequence. I didn't mention databases, so I can't comment on that point. |
|
But websockets also guarantee in-order delivery, which is never guaranteed by long polling. And websockets play way better with intermediate proxies - since nothing in the middle will buffer the whole response before delivering it. So you get better latency and better wire efficiency. (No http header per message).