~/talk

Anycable - Universal Action Cable

Talkat RubyConf MY 2017 · 2017-10-12..10-13· [ruby-on-rails, web-performance]
slides:none on file

AnyCable extracts Action Cable’s low‑level WebSocket server into a separate service and proxies protocol commands over gRPC/protobuf so Rails keeps existing channels and the JS client. Implementations in Go and Erlang show much lower memory and CPU: benchmarks move from multi‑second broadcast latency with 16 Ruby workers to sub‑half‑second rebroadcasts at thousands of connections, and ~4x lower resource cost. Production use reports thousands (not millions) of connections, easier zero‑downtime deploys, and room to add fallbacks, metrics and history streams.

AI-written summary · about

  1. 0:00Introduction of the speaker
  2. 2:42What is Action Cable
  3. 5:33Pros and cons of Action Cable
  4. 7:23Limitations of Action Cable
  5. 8:30Memory usage in Action Cable
  6. 10:15Performance benchmarks
  7. 14:17Introducing AnyCable
  8. 17:54How AnyCable works
  9. 19:01AnyCable benchmarks
  10. 21:13Live demonstration
  11. 23:00Light Cable for non-Rails apps
  12. 24:50Additional AnyCable features
  13. 28:01Deployment benefits
  14. 31:15Future of AnyCable
  15. 31:37Production use and Q&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.