~/talk

Streaming over the web with modern Ruby

Talkat RubyConf 2024 · 2024-11-13..11-15· [ruby, web-platform]
slides:none on file

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

  1. 0:00Modern web streaming intro
  2. 5:24Ruby streaming state
  3. 14:58SSE and WebSocket demo
  4. 22:59Advanced SSE use cases
  5. 27:16Streaming protocols comparison
  6. 33:26Ruby’s web protocol role
  7. 35:10Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.