Free course
Real-time Web Applications Course
Build reliable live interfaces with polling, server-sent events, WebSockets, snapshots, reconnection, backpressure, and graceful degradation.
Prerequisites: JavaScript, HTTP and Node.js
Your progress
of lessons completed.
Course completed.
What you'll learn
Build and operate a live service-status board that remains correct through disconnects, duplicates, restarts, slow clients, and fallback mode.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
Choose the channel
Turn “real-time” into requirements and choose polling, SSE, or WebSockets deliberately.
Build an SSE stream
Frame, name, resume, heartbeat, and clean up a one-way event stream.
Build a WebSocket channel
Handle upgrades, messages, authorization, and bounded flow.
Make live state reliable
Survive ordering, duplicates, gaps, reconnects, restarts, and multiple tabs.
Secure, test, and operate
Threat-model, load-test, observe, and degrade the live feature safely.