Real-time notifications: WebSockets or SSE for user alerts? What's the deal?
Aizada Tursunbayeva
·8126 views
Hey everyone, I'm working on a new feature for real-time user alerts and trying to figure out if WebSockets or Server-Sent Events (SSE) are the way to go. Some stuff needs two-way communication, but mostly, we just need to push alerts from the server to the client. What have you guys found? When did one really shine over the other for something like this? Any tricky bits I should watch out for with either option?
35 comments