Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
apitman
on March 18, 2024
|
parent
|
context
|
favorite
| on:
WebSockets vs. Server-Sent-Events vs. Long-Polling...
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
on March 23, 2024
[–]
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: