~/talk

The pitfalls of realtime-ification

Talkat RailsConf 2022 · 2022-05-17..05-19· [web-platform, ruby-on-rails]
slides:none on file

Explains concrete failure modes and fixes for Rails realtime: Action Cable and Hotwire hide issues around personalization (how to avoid broadcasting sensitive per-user UI), delivery guarantees (fire‑and‑forget leads to missed messages and ordering/duplication), and presence (disconnects and server crashes). Demonstrations include a client-side history+buffer approach, a custom Turbo history stream element, tradeoffs of channel-per-user vs channel-per-group, and protocol work with anycable protocol extensions that add history and presence support.

AI-written summary · about

  1. 0:00Start
  2. 24:49Hotwire Cable
  3. 26:43Protocol extensions
  4. 28:40Action Cable Presence
  5. 32:55Other pitfalls
~/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.