Explain it in 60 seconds
Getting real-time updates: polling, SSE and WebSockets
Frontend Engineering · State Management and Data Fetching · Beginner
What are the main ways a frontend can receive real-time updates?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Polling: request every few seconds; simple, wasteful.
- Long polling.
- Server-Sent Events: server→client stream over HTTP.
- WebSockets: two-way persistent connection.
- Choose by direction and scale.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.