Rhebok, High Performance Rack Handler
summary
Claims 1.5–2x throughput versus Unicorn on realistic workloads, backed by wrk benchmarks (hello world ~250k → ~400k req/s) and a ~2000-point improvement in the Dribocon tuning contest. Implementation uses a prefork_engine model with fixed worker processes, C extensions for timeouts and header parsing via picohttpparser, direct read into parser to avoid Ruby string copies, and TCP optimizations using writev/syscalls and TCP_NODELAY. Hot deploy and graceful worker shutdowns are supported.
AI-written summary · about
chapters (5)
- 0:00Introduction and background
- 11:01Benchmark results comparison
- 23:44Prefork architecture explained
- 30:57TCP and response optimizations
- 35:44Conclusion and call to action
related talks
41mHow Puma Works
25mUnderstanding Ruby Web Server Internals: Puma, Falcon, and...
43mReal World Ruby Performance at Scale
31mHigh performance APIs in Ruby using ActiveRecord and Goliath
21mConquering Massive Traffic Spikes in Ruby Applications with Pitchfork
40mKeynote: A Beginner's Guide to Puma Internals
01h 03mKeynote: Off the Rails
33mAsynchronous Rails
