← All tutorials
Skill Zuno · skillzunos.com · System Design
Polling and Streaming tutorial
Learn Polling and Streaming on Skill Zuno. This Polling and Streaming tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical Polling and Streaming problems on skillzunos.com.
Open Polling and Streaming on Skill ZunoAlso see the Polling and Streaming interview questions.
Polling and streaming are two ways for clients to get updates from a server. With polling the client asks repeatedly; with streaming the server pushes data over an open connection as soon as it changes. Real-time features such as chat, live scores and notifications depend on choosing well. Interviews compare short polling, long polling, Server-Sent Events and WebSockets, and how to scale persistent connections.
Polling and Streaming topics covered
- Short polling — Asking for updates on a timer, simple but wasteful and slow to notice changes.
- Long polling — Holding a request open until data arrives, then immediately asking again.
- Server-Sent Events — A one-way stream from server to browser over HTTP with automatic reconnection.
- WebSockets — Full-duplex messaging over one long-lived connection for chat and collaboration.
- Scaling persistent connections — Handling millions of open sockets, and routing messages to the right server through pub/sub.
- Choosing the right approach — Matching the method to update frequency, direction and infrastructure limits.
What you can learn
- Polling and Streaming tutorial for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- System Design topics alongside Polling and Streaming on skillzunos.com