real-time data sync websockets vs server-sent events
Astrid Vermeulen
·6013 views
hey folks, i'm planning out a new feature and we need to push real-time updates from the server to a bunch of clients. we're trying to pick between WebSockets and Server-Sent Events, or SSE. WebSockets look like they're more adaptable for that back-and-forth chat, but SSE feels easier for just pushing stuff from the server to the client, and that's mostly what we need. has anyone hit any major slowdowns or weird problems with either of these when things get really busy? what made you pick one over the other when you were in a similar spot?
34 comments