3 ms·
When using server sent events, the only issue I worry about is short tcp timeouts. If either of end terminates the tcp connection, you have to restart the event
by pyrolistical 3y ago
When using server sent events, the only issue I worry about is short tcp timeouts. If either of end terminates the tcp connection, you have to restart the event stream. If the timeout is low, this will basically be inefficient polling.
But with that said something that forcefully terminates your tcp connection with a really short timeout is making the internet generally unusable, so it’s something very unlikely to happen.
- voidwtf 3y agoHe did not use SSE as I read it, but a home grown solution writing to the response stream of standard request.
- pyrolistical 3y agoSSE and event streams are the same thing