For web developers
Real-Time Web: Streaming, Events, and Live Systems
Compare polling, server-sent events, and WebSockets, then explore the design of reliable live applications.
3 lessons ready to readFree to readLearn at your own pace
Read the first lesson →
Practice for five minutes →
Sign in to track your progress →
01 / READ
Start with a lesson that meets you where you are.
02 / PRACTICE
Try questions to check what you understand.
03 / RETURN
Sign in to keep your practice progress together.
Lessons
3 of 65 topics have lessons available today. Choose any available lesson.
- 01
Server-Sent Events (SSE)
Read the lesson, then try the practice.
- 02
Web RTC
Read the lesson, then try the practice.
- 03
HTML Streaming and Browser Parsing
Read the lesson, then try the practice.
Topics without lessons yet
These are part of the outline. Lessons are not available for them yet.
- Mental Models & Foundations
- Connection Paradigms
- Request/Response vs Continuous
- Pull vs Push Patterns
- State vs Stream Thinking
- Latency & Perception
- Real-Time vs Near Real-Time
- Latency Budgets
- Evolution of Real-Time Web
- Early Techniques
- Naive Polling
- Long Polling
- HTTP Keep-Alive & Chunking
- Browser Limitations
- Connection Limits
- Security Model Conflicts
- Server-Sent Events & WebSockets
- EventSource API
- Event Format & Framing
- Reconnection & Last-Event-ID
- SSE Error Handling
- WebSockets Protocol
- Upgrade Handshake
- Message Framing
- Backpressure Problems
- When WebSockets Are Overkill
- HTTP Streaming & Modern Patterns
- Streaming Data Formats
- Chunked HTTP Responses
- NDJSON Streaming
- Streaming JSON Parsers
- AI & Observability Streams
- LLM Response Streaming
- Log & Metrics Streaming
- Progressive Rendering
- Architecture & Production Operations
- Backend Architecture Patterns
- Event Emitters vs Request Handlers
- Pub/Sub Patterns
- Fan-Out Strategies
- Ordering & Idempotency
- Scaling & Infrastructure
- Load Balancers & Sticky Sessions
- Horizontal Scaling Challenges
- Connection Limits & Resource Management
- Reverse Proxy Considerations
- Decision Engineering & Use Cases
- Technology Selection Framework
- SSE vs WebSockets Decision Tree
- Streaming vs Polling Trade-offs
- Browser Limits & Constraints
- Security & UX
- Auth on Persistent Connections
- Rate Limiting & Multi-Tenancy
- Perceived Latency & Optimistic Updates
- Offline & Reconnection UX
- Real-World Applications
- Notification Systems
- Live Dashboards
- Chat & Collaboration
- LLM Streaming Interfaces
- Streaming Media