Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by apitman on Monday March 18, 2024 @03:42PM
(#39749030)
One limitation of SSE compared to long polling (and WebSockets etc) is you can't efficiently send binary data such as cbor, protobuf, etc. Though if your long polling is chatty enough eventually the HTTP overhead will kill your efficiency too.
[ Parent
| on HN ]
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We...
by niutech on Saturday March 23, 2024 @07:27AM
(#39799121)
You can use binary-sse (https://github.com/luciopaiva/binary-sse) with minimal overhead.