Long Polling Explained: Real-Time Updates Without WebSockets
How long polling works — holding HTTP connections open for server-push updates, timeout handling, and when long polling beats WebSockets or SSE.
GO DEEPER
Learn from senior engineers in our 12-week cohort
Our Advanced System Design cohort covers this and 11 other deep-dive topics with live sessions, assignments, and expert feedback.
// RELATED CONCEPTS
WebSocket Protocol Explained: Full-Duplex Communication Over TCP
How WebSockets work — the upgrade handshake, frame format, when to use WebSockets vs SSE or polling, and scaling WebSocket connections in production.
Server-Sent Events Explained: One-Way Real-Time Streaming Over HTTP
How Server-Sent Events (SSE) work — EventSource API, automatic reconnection, and when to choose SSE over WebSockets for real-time server-to-client updates.
What Happens When You Type a URL Explained: The Full Request Lifecycle
The complete journey from typing a URL to seeing a web page — DNS, TCP, TLS, HTTP, rendering, and every step in between explained for system design interviews.
DNS Resolution Explained: How Domain Names Become IP Addresses
How DNS resolution works step by step — recursive resolvers, authoritative servers, caching, TTL, and why DNS failures take down the internet.
TCP Three-Way Handshake Explained: How Connections Are Established
How the TCP three-way handshake works — SYN, SYN-ACK, ACK sequence, why it exists, connection states, and how it affects application latency.
TLS/SSL Handshake Explained: How HTTPS Connections Are Secured
How the TLS handshake establishes encrypted connections — certificate verification, key exchange, TLS 1.2 vs 1.3, and performance implications for HTTPS.