The end of polling
summary
Compares WebSockets and Server-Sent Events with concrete tradeoffs: SSE is unidirectional, reuses HTTP, defines data/id/retry fields and built‑in reconnection; WebSockets is bidirectional, needs proxy/load‑balancer changes and custom message handling. Shows proxy product streamdata.io that polls APIs, sends SSE streams and applies JSON-Patch for incremental updates. Real customer case cuts outgoing traffic by 90% on 25 billion monthly calls (cost down from $9,000 to $900); demo wires EventSource + jsonpatch + ar‑drone but the live drone takeoff fails due to network.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:25Refresh Button
- 3:26Long polling
- 5:18Text and binary
- 6:02Configuration
- 9:10Connection drop
- 10:11Browser support
- 11:51Choosing wisely
- 14:25Demo
- 15:59Code
- 21:14Testing








