High-speed cables for Ruby
summary
Title indicates the topic but specifics sell it: Action Cable shows linear latency growth — benchmarks hit ~10s delivery with 10,000 clients and huge memory per connection — real site equipe.com cuts Heroku dynos by 5 and memory by 10GB after switching. Replacing the WebSocket server with AnyCable (Go or Erlang) yields Go-like throughput and low RAM, enables zero-disconnect deploys, and a mruby-in-Go experiment for executing simple channel logic is promising but still crashes.
AI-written summary · about
chapters (5)
related talks
33mAsynchronous Rails
34mHow to scale a Ruby webservice
01h 09mFlash Talks
43mReal World Ruby Performance at Scale
24mData fetching with GraphQL and ActionCable
31mRapid Start: Faster Internet Connections, with Ruby's Help
33mEnsuring High Performance for Your Ruby App
26mConcurrency in Ruby: From fork() to Fiber
