← Graph

Cables! Cables! Cables!

talk 15 connections

Vladimir Dementyev's wroclove.rb 2018 talk surveying Ruby 'cables' (tools for building real-time web applications). Reviews Action Cable's architecture (server, broadcaster, channels framework, clients) and its good parts (bundled with Rails, Rack-compatible, single Ruby process, easy channels DSL, capable JS client). Covers bad parts: WebSocket-only (no fallbacks), high memory use due to MRI limits and the GIL, poor broadcast latency under load (rocket's benchmark shows thousands-of-seconds latency with thousands of clients, even on a 16-core c4.4xlarge). Tells the real-life Calico/equestrian-shows platform story where switching from Action Cable (21 2×-Heroku dynos, hitting memory-quota-exceeded) to AnyCable cut resource use ~10x. Introduces AnyCable: replace the MRI WebSocket server with a Go or Erlang server that proxies Action Cable protocol to Rails over gRPC (HTTP/2 + protobuf) with Redis for broadcasting. Highlights zero-disconnect deployment and Prometheus metrics. Q&A explains why both Go and Erlang implementations exist (Go prototype due to no mature Erlang gRPC lib). Closes with LiteCable (Rails-free Action Cable-compatible channels framework, used with Hanami for IoT) and ongoing integration with Plezi on top of the Iodine web server.

type
talk
talk Cables! Cables! Cables!
about
Deep dive into Action Cable's architecture, strengths, and weaknesses.
talk Cables! Cables! Cables!
about
AnyCable project
Introduces AnyCable as a solution to Action Cable's performance problems.
talk Cables! Cables! Cables!
about
LiteCable project
Presents LiteCable as a Rails-free Action Cable-compatible framework.
talk Cables! Cables! Cables!
about
Iodine tool
Mentioned as an efficient alternative Ruby web server.
talk Cables! Cables! Cables!
about
Plezi tool
Described as an in-progress integration target for LiteCable/AnyCable.
talk Cables! Cables! Cables!
about
Central subject of the talk.
talk Cables! Cables! Cables!
about
WebSockets concept
Discusses WebSocket-only protocol support and its limitations.
talk Cables! Cables! Cables!
about
gRPC tool
Explains gRPC as the transport between AnyCable's WebSocket server and Rails.
asked_at
Cables! Cables! Cables! talk
Audience Q&A.
authored
Cables! Cables! Cables! talk
Speaker of the wroclove.rb 2018 talk.
from_talk
Cables! Cables! Cables! talk
Guiding principle stated by the speaker.
from_talk
Cables! Cables! Cables! talk
Warning derived from benchmark results.
from_talk
Cables! Cables! Cables! talk
Closing recommendation.
talk Cables! Cables! Cables!
presented_at
Talk delivered at wroclove.rb on 2018-03-16.
talk Cables! Cables! Cables!
related_to
Speaker opens by thanking Stefan for the preceding Rails performance talk.

Provenance

Created
2026-04-17 16:17 seed
Read by
19 extractions