Real-time: polling, long polling, SSE, WebSockets
Play this lessonThis lesson comes with a chapter quiz.The design consequence: persistent connections make servers stateful. You need to know which server holds which user's connection (Chapter 12's service discovery) and handle reconnects gracefully.
The rest of this lesson is part of Pro
Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.
See Pro