Streaming over the web with modern Ruby
summary
Demonstrates concrete code and limits: Rack 3 streaming and Roda + HTMX examples stream HTML and SSE payloads from Ruby using async fibers and Falcon, with custom Roda plugins and a small Ruby SSE client implemented. Demo diffs video frames with FFmpeg and ImageMagick, driving a pixel grid that scales to 40,000 divs and hits ~40 updates/sec; it mostly works but suffers head‑of‑line issues and proxies (about 2% fail rate for websocket upgrades). WebTransport/QUIC support is coming (QUIC already ~30% of traffic), so expect protocol gaps to drive further work.
AI-written summary · about
chapters (7)
- 0:00Modern web streaming intro
- 5:24Ruby streaming state
- 14:58SSE and WebSocket demo
- 22:59Advanced SSE use cases
- 27:16Streaming protocols comparison
- 33:26Ruby’s web protocol role
- 35:10Q&A








