RubyGems Navigation menu

puma 0.9.3

Puma is a simple, fast, and highly concurrent HTTP 1.1 server for Ruby web applications. It can be used with any application that supports Rack, and is considered the replacement for Webrick and Mongrel. It was designed to be the go-to server for [Rubinius](http://rubini.us), but also works well with JRuby and MRI. Puma is intended for use in both development and production environments. Under the hood, Puma processes requests using a C-optimized Ragel extension (inherited from Mongrel) that provides fast, accurate HTTP 1.1 protocol parsing in a portable way. Puma then serves the request in a thread from an internal thread pool (which you can control). This allows Puma to provide real concurrency for your web application! With Rubinius 2.0, Puma will utilize all cores on your CPU with real threads, meaning you won't have to spawn multiple processes to increase throughput. You can expect to see a similar benefit from JRuby. On MRI, there is a Global Interpreter Lock (GIL) that ensures only one thread can be run at a time. But if you're doing a lot of blocking IO (such as HTTP calls to external APIs like Twitter), Puma still improves MRI's throughput by allowing blocking IO to be run concurrently (EventMachine-based servers such as Thin turn off this ability, requiring you to use special libraries). Your mileage may vary.. in order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like [Rubinius](http://rubini.us) or [JRuby](http://jruby.org).

Versions:

  1. 3.10.0 - August 17, 2017 java (132 KB)
  2. 3.10.0 - August 17, 2017 (106 KB)
  3. 3.9.1 - June 03, 2017 java (135 KB)
  4. 3.9.1 - June 03, 2017 (110 KB)
  5. 3.9.0 - June 01, 2017 java (135 KB)
  6. 0.9.3 - January 09, 2012 (45.5 KB)
Show all versions (188 total)

Runtime Dependencies (1):

Development Dependencies (2):

Authors:

  • Evan Phoenix

Owners:

540cb3b3712ffe045113cb03bab616a2Db953d125f5cc49756edb6149f1b813e360db81fc4d83de5f6b6a13a398d4cb3

SHA 256 checksum:

255235808cdf72cef1b73f6c94f1f8154c56624235e21a1ee759c7577475ee0d

Total downloads 21,268,948

For this version 2,969

Gemfile:
= Copy to clipboard Copied!

install:
=

Licenses:

N/A

Required Ruby Version: None

Links: