~/talk

One cable to rule them all

Talkat RubyKaigi 2018 · 2018-05-31..06-02· [ruby-on-rails, web-performance]
slides:none on file

Action Cable hits memory and CPU limits at thousands of WebSocket connections — idle 20,000 connections balloon memory, and a Rails site handling ~5,000 connections needed ~20 GB RAM. AnyCable replaces Action Cable’s connection server with a Go WebSocket server, uses gRPC (HTTP/2 + protobuf) to call Rails channels, and broadcasts via Redis, cutting resource needs by about 10x and keeping sub-second latency. Embedding Ruby with mRuby inside Go lets simple channel logic run in-process (in-process calls ~0.12 ms vs remote RPC tens of ms).

AI-written summary · about

  1. 0:00Introduction
  2. 3:34Action Cable overview
  3. 5:46Performance challenges
  4. 8:54Technical limitations
  5. 14:08Introducing Any Cable
  6. 18:27Any Cable features
  7. 22:57Light Cable and future
  8. 24:44Optimizing with MRuby
  9. 31:26Summary and conclusions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.