Last Minute Notes
Github
Docs
Learn
Search
⌘
K
@sayanstwt
Lessons
Learn
/
System Design
/
Communication
Real-Time Updates
7 min
Beginner
6 steps
Polling, long polling, SSE and WebSockets side by side.
Client
Server
msg #7 arrives
GET /feed
200 (old data)
new data appears, but nobody tells the client
request
reply
failure
In this lesson
Step 1 of 6
1
The problem
2
Short polling
3
Long polling
4
SSE
5
WebSocket
6
Recap