3 ms·
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 p
by apitman 3y ago
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.
- niutech 3y agoYou can use binary-sse (https://github.com/luciopaiva/binary-sse https://github.com/luciopaiva/binary-sse) with minimal overhead.