So, real-time updates: when do WebSockets actually work better than server-sent events (SSE) for system design?
QUser2722 Profile
·452 views
Hey everyone, I've been thinking about pushing real-time updates in system design lately. We usually talk about WebSockets as the main way to do this. But SSE seems like an easier choice for situations where you're mostly just reading data and the client doesnt need to send much back. So, when do you decide? Is it just about needing to talk both ways? Or are there other things like how much a connection costs, scaling problems, or specific uses (dashboards compared to chat apps) that make you pick one over the other? I'd love to hear about real-world experiences and the little details that might not be obvious.
3 comments