Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


You can use binary-sse (https://github.com/luciopaiva/binary-sse) with minimal overhead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: