Real-Time Communication
Moving beyond request/response — persistent connections, streaming, and the patterns that power live experiences.
Polling
1/8Client sends request — any new data?
Long Polling
Short Polling
WebSockets
WebSocketconnecting...
1/12Client sends HTTP upgrade request to establish WebSocket
Persistent Connections
Full Duplex
Connection Management
Scaling Challenges
Sticky Sessions
Pub/Sub Layer
Use Cases
Server-Sent Events (SSE)
Server-Sent Eventsidle
1/12Client sends GET request with Accept: text/event-stream