Menu
Back to Discussions

dont know about websockets versus long polling and SSE?

Octavia Vargas
Octavia Vargas
·6797 views
hey everyone thinking bout building a real time chat feature for an app. were debating the best approach for the actual transport layer. websockets seem like the obvious choice for bidirectional communication, but what are the trade offs? are there scenarios where long polling or server sent events sse might still be more practical or easier to implement, esp considering server load and client compatibility? curious to hear what youve used and what made you choose one over the others for real time data
37 comments

Comments

Loading comments...