It's Rubies All The Way Down
summary
History and experiments show a full Ruby stack is practical: a custom Ruby reverse proxy called swift apply handles sticky sessions and caches, a networked logger analog er sends and spools logs without blocking, and small proxies built with eventmachine/iam_proxy or Rack/Puma serve static assets. Benchmarks claim ~15,000 requests/second on a cheap VM for earlier proxies, ~1,800 req/s for the shellac cache proof‑of‑concept, and 2,700 files/s from WEBrick; a 2011 deployment still runs in production at a major US bank. Some projects are alpha and lack cache expiry or hardening.
AI-written summary · about
chapters (22)
- 0:00Start
- 0:27Kirk Haines
- 1:16What is a "Stack"?
- 1:51The Ruby Bits
- 3:25Ruby For The Long Haul
- 4:31A "Ruby" Stack in 2002?
- 6:13Evolving Ruby Stack
- 7:32FCGI Bitterness
- 10:10More Ruby In My Stack!
- 12:57Pure Ruby Stack
- 13:28Asynchronous Logger
- 16:33Room For More Ruby?
- 16:57Front End Proxy/LB
- 19:55Static Asset Caching
- 24:31Webserver For Static Assets
- 27:26Database
- 30:45Deployment
- 34:37Configuration Management
- 34:48Log Management
- 35:50Bastion Host/Logged SSH
- 36:30Wrapping Up
- 37:10Would You Want To?
related talks
43mReal World Ruby Performance at Scale
34mHow to scale a Ruby webservice
01h 03mRuby at Scale
37mRuby on Rack: The Magic Between Request and Response
45mAbstracting Features Into Custom Reverse Proxies
33mEnsuring High Performance for Your Ruby App
37mCache is King: Get the Most Bang for Your Buck From Ruby
37mDeathmatch Bundler vs Rubygems.org
