Kino is a new high-performance web server designed for Ruby 4.0 and later versions. It addresses the limitation of Ruby's Global Virtual Lock (GVL), which traditionally prevents Ruby threads from executing code in parallel. Kino achieves parallel execution by leveraging Ractors, allowing a single process to utilize all available CPU cores.
Benchmarks on an 8-core server show Kino's Ractor mode performing 1.5 to 2 times faster than a Puma fork cluster for I/O-light operations, and over 30% faster for CPU-bound tasks. This performance is coupled with substantial memory savings, with Kino using approximately 4 to 7 times less memory than a Puma cluster, depending on the application.
Kino employs a Rust-based front-end (using tokio and hyper) to manage network operations, while parallel Ractors handle Rack 3 applications. A threaded fallback mode is available for other applications, including Rails. The server includes production-ready features such as graceful draining, crash supervision, bounded queues with 503 backpressure, request timeouts, and hardened intake mechanisms against slowloris attacks and large requests. It also provides an on_error hook for error tracking and live statistics.
Kino's design is specifically built to dispatch requests to Ractors, taking advantage of the rework in Ruby 4.0 that improved Ractor functionality. The server offers a `kino --check` command to identify what prevents an application from running in Ractor mode. While Ractors are experimental in Ruby 4.0, Kino's threaded mode is stable. The server is designed to be familiar to Puma users, adopting a similar `workers × threads` topology and CLI.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Kino is a new web server for Ruby 4.0+ that utilizes Ractors to enable parallel execution of Ruby code across multiple CPU cores within a single process, addressing the Global Virtual Lock (GVL) limitation. This approach results in significant performance gains and reduced memory consumption compared to traditional forking servers like Puma.