Understanding the realtime web with websockets
summary
Explains that realtime means bounded latency not magic and demonstrates a working tiny.cc/realtime-voting demo built in Angular with Chart.js, wired to a hosted pub/sub realtime library using about three lines of WebSocket client code. Shows live votes (more than the room count), contrasts polling/long‑poll/HTTP2 with a persistent full‑duplex connection, names pub/sub and presence as implemented features, and shows the demo updating immediately so the system clearly works end to end.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:18About me
- 1:14What is realtime
- 2:09Examples of realtime
- 3:24How do realtime applications work
- 4:12HTTP
- 12:26PubSub
- 15:16Presence
- 15:46Realtime
- 16:53Demo
- 19:00Subscriber
- 19:25Chart
- 23:12Realtime applications
- 24:16Realtime platforms
related talks
30mWebSockets: The Real-Time Avengers
38mBeyond REST: Using Full-Stack Signals for Real-Time Reactive UIs
37mGetting Close with the Web
29mWebSockets Bring Light at the End of the Tunnel
09mMake your Next.js app realtime and collaborative
32mVue Real-Time Apps
23mImplications of the Realtime Web
43mRealtime Web Apps in the Wild
