real-time notifications: polling versus WebSockets versus SSE
Clara Van der Berg
·8041 views
hey everyone, i'm working on a project that needs to push real-time updates to users. you know, like live scores or breaking news alerts. i've been weighing the options for how to do this. polling is simple, but it uses up a lot of resources. web sockets are powerful, but managing them at scale can get tricky. server-sent events (SSE) seem like a decent middle-ground for updates going one way, but what do you all think. when have you found each approach to work best, and what are the main things you think about regarding resource use and how complicated it is
34 comments