Menu
Back to Discussions

So, you've got these two options for real-time updates: long-polling and WebSockets.

Yara Suryawan
Yara Suryawan
·2000 views
hey folks, i'm thinking about building out a new real-time feature and i'm weighing the pros and cons of long-polling versus WebSockets. we need to push updates from the server to clients pretty frequently, but not all clients will always need updates. what's your go-to strategy here? when have you found one clearly beats the other, and what are the hidden gotchas
29 comments

Comments

Loading comments...