Iodine is an HTTP and WebSocket server for Rack and NeoRack applications, with integrated networking facilities for real-time services. Its architecture separates client network operations from application execution, using a dedicated native reactor thread alongside a pool of application threads.
Network operations continue independently of Ruby’s Global VM Lock, allowing connections to remain responsive while application code executes. Iodine also provides client-side networking interfaces and message distribution facilities, enabling applications to implement real-time communication without necessarily deploying an external message broker.
This is free and open source software.
Key Features
- HTTP/1.1 persistent connections and pipelining.
- WebSocket and Server-Sent Events server and client connectivity.
- Built-in publish/subscribe messaging across worker processes.
- Distributed messaging through RESP3-compatible services such as Redis and Valkey.
- Optional encrypted local network mesh with automatic peer discovery.
- Native static file serving without application middleware.
- Automatically serve pre-compressed Brotli, Zstandard and gzip resources.
- Dynamic response compression and WebSocket message compression.
- TLS support with OpenSSL or an embedded TLS implementation.
- Client certificate verification for mutual TLS.
- Configurable request header, body and WebSocket message size limits.
- Asynchronous event scheduling and timers.
- TCP/IP and Unix domain socket connectivity.
- Configurable worker processes and thread pools.
- Application preloading and hot worker restarts.
- Built-in Mustache templating.
- Custom network protocol development.
- Cross-platform support – runs on Linux, macOS, FreeBSD, and Windows.
Iodine is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Ruby Application Servers | |
|---|---|
| Puma | Concurrent web server for Ruby and Rack |
| Phusion Passenger | Web server and application server for Ruby, Python and Node.js |
| Falcon | Asynchronous Rack-compatible engine for fast, scalable web traffic |
| pitchfork | Preforking HTTP engine designed for resilience and steady throughput |
| iodine | Lightweight HTTP and WebSocket service built for demanding loads |
| unicorn | HTTP server for Rack applications |
| Itsi | High-performance web serving with efficient request handling |
| Rainbows! | HTTP server for sleepy Rack applications based on Unicorn |
| Agoo | Fast HTTP platform with WebSocket support and very low overhead |
| yahns | Sleepy, multi-threaded, non-blocking application server for Ruby |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.