4 ms·
> The connection limit of SSE comes up a lot, even if you’re using HTTP/2. I'm considering using SSE for an app. I'm curious, what problems you've run into? A
by infamia 2y ago
> The connection limit of SSE comes up a lot, even if you’re using HTTP/2.
I'm considering using SSE for an app. I'm curious, what problems you've run into? At least the docs say you get 100 connections between the server and a client, but it can be negotiated higher if needed it seems?
https://developer.mozilla.org/en-US/docs/Web/API/EventSource https://developer.mozilla.org/en-US/docs/Web/API/EventSource
- rednafi 2y agoSSEs are great and more reliable than websockets in a smaller scale. So I'd reach for it despite the issues. But that being said, some websevers don't play well with SSE and you'll need to fiddle with it. If you control the webserver, then it's not much of a problem.