# Puma

> A Ruby/Rack web server built for parallelism

Source: https://talira.ai/catalog/puma-qdbe2rmt
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool, Infrastructure
- Categories: [web servers / application servers](https://talira.ai/categories/web-servers/application-servers), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Platforms: linux, macos, windows
- Licence: BSD-3-Clause
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Plugins: yes

Puma is a multi-threaded, multi-process HTTP 1.1 server for Ruby and Rack apps and the default server for Rails. Each request runs in its own thread, and cluster mode pre-forks worker processes that share memory through copy-on-write, so one machine serves many requests with little memory. It has SSL, zero-downtime rolling restarts and a request buffer built in, so it can run without a reverse proxy. Its HTTP parser comes from Mongrel. On MRI the GVL runs one thread of Ruby at a time, but threads still overlap their waits on IO; on JRuby and TruffleRuby they run in parallel.

## Links

- Website: https://puma.io
- GitHub: https://github.com/puma/puma
- Docs: https://puma.io/puma/

## Ways to install

### Package managers

- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/puma>[^1]

## Problems it solves

- which web server should run my Rails app in production
- serve more requests per server without adding memory
- restart the app server without dropping requests during a deploy
- my Ruby app spends most of its time waiting on external APIs and can't keep up
- tune threads and worker processes for a Rails app on a small VM
- serve HTTPS straight from the Ruby app server
- a Rack server that works on MRI and JRuby

## Features

- multi-threaded request handling
- cluster mode with pre-forked workers
- copy-on-write memory sharing
- SSL
- zero-downtime rolling restarts
- request buffering
- Mongrel-derived HTTP parser
- MRI, JRuby and TruffleRuby
- default server in Rails' generated Gemfile

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.70 out of 1.
Signals: maintenance 1.00, adoption 0.78, momentum 0.50, community 1.00, backing 0.00, extensibility 0.40.

- last commit 8 days ago
- 121 commits in the last 90 days
- latest release v8.1.1 9 days ago
- 7.9k GitHub stars
- 568 contributors
- has a plugin system

## Alternatives

- [unicorn](https://talira.ai/catalog/unicorn-41mmc0ty.md): Rack HTTP server for fast clients and Unix
- [Gunicorn](https://talira.ai/catalog/gunicorn-apntafgc.md): Python WSGI HTTP server for UNIX

## Sources

[^1]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
