Server-Sent Events or WebSockets for real-time data sync? Which is better?
Wenjing Luo
·8059 views
hey everyone, i'm trying to figure out the best way to send live updates from our backend to tons of connected clients. we're getting a lot of traffic that's mostly just one way, from the server to the client. WebSockets are usually the go-to for two-way stuff, but i'm thinking SSE might be easier and work better for this, since it's just one way. have you guys used SSE for busy, live data streams? any sneaky problems i should watch out for, especially when we scale up
29 comments