Should we use Websockets or Server-Sent Events for real-time user presence?
Violeta Rahmanian
·2967 views
hey everyone, i'm looking for some thoughts on how to implement real-time user presence indicators, like online or offline status, in a web app. we're trying to decide between using WebSockets and Server-Sent Events (SSE). WebSockets seem to offer more features for two-way communication, but SSE feels a bit easier for just sending status updates. has anyone here dealt with this recently? what were the good and bad points you ran into, especially when it comes to scaling and managing connections
32 comments