The End of Polling
summary
Argues REST polling is obsolete and shows a concrete path: convert APIs into streams using Server-Sent Events instead of WebSockets when traffic is server-to-client only, add incremental diffs with JSON-Patch, and front them with a proxy like Streamdata.io that does polling, caching and emits patches. Claims 90–98.5% of poll calls are wasted, demonstrates reconnection with Last-Event-ID/retry, and pilots a drone from Bitcoin price patches — the demo works.
AI-written summary · about
chapters (20)
- 0:00Intro
- 1:22Vision
- 2:22Refresh Button
- 3:41Realtime User Experience
- 4:53Mentions
- 5:28Polling
- 7:00Web Sockets
- 7:47Protocols
- 8:18Proxy Configuration
- 9:00Messages Format
- 9:42Implementation
- 10:44Service and Events
- 12:20Streaming
- 13:15Browser Support
- 14:01Preferences
- 15:06WebSockets
- 16:07Proxy
- 17:13Cheese in Patch
- 17:42Demo
- 19:04Maya Prediction
related talks
57mWhy and how to transform a REST API into a Data Streaming API
26mThe end of polling
18mPolling: It's Good Enough for the WWW & It's Good Enough for You
58mSSE vs WebSockets vs Long Polling
38mBeyond REST: Using Full-Stack Signals for Real-Time Reactive UIs
45mBeyond REST: Using Full-Stack Signals for Real-Time Reactive UIs
29mWebSockets Bring Light at the End of the Tunnel
01h 28mIntroduction to WebSockets
