RubyGems Navigation menu

puma 2.0.0.b2-java

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.12.0 - July 13, 2018 java (187 KB)
  2. 3.12.0 - July 13, 2018 (162 KB)
  3. 3.11.4 - April 12, 2018 java (182 KB)
  4. 3.11.4 - April 12, 2018 (157 KB)
  5. 3.11.3 - March 06, 2018 java (180 KB)
  6. 2.0.0.b2 - November 19, 2012 java (108 KB)
Show all versions (200 total)

Runtime Dependencies (1):

Authors:

  • Evan Phoenix

Owners:

SHA 256 checksum:

99a4a08260d10afd50b6484bcfcca9b67c3966f529a91c6b276897e031e49b0c

Total downloads 43,643,428

For this version 1,045

Gemfile:
= Copy to clipboard Copied!

install:
=

Licenses:

N/A

Required Ruby Version: None

Required Rubygems Version: > 1.3.1

Links: