Tuning Unicorn ↑

Unicorn performance is generally as good as a (mostly) Ruby web server can provide. Most often the performance bottleneck is in the web application running on Unicorn rather than Unicorn itself.

Unicorn Configuration ↑

See Unicorn::Configurator for details on the config file format. worker_processes is the most-commonly needed tuning parameter.

Unicorn::Configurator#worker_processes ↑

Unicorn::Configurator#listen Options ↑

Other Unicorn settings ↑

Kernel Parameters (Linux sysctl) ↑

WARNING: Do not change system parameters unless you know what you're doing!