RubyGems Navigation menu

puma 1.6.3-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).

Gemfile:
=

instalar:
=

Versiones:

  1. 6.5.0 November 22, 2024 java (254 KB)
  2. 6.5.0 November 22, 2024 (232 KB)
  3. 6.4.3 September 19, 2024 java (249 KB)
  4. 6.4.3 September 19, 2024 (226 KB)
  5. 6.4.2 January 08, 2024 java (248 KB)
  6. 1.6.3 September 04, 2012 java (76 KB)
Mostrar todas las versiones (337 total)

dependencias de Runtime (1):

rack ~> 1.2

dependencias de Development (3):

hoe ~> 3.0
rake-compiler ~> 0.8.0
rdoc ~> 3.10

Propietarios:

Autores:

  • Evan Phoenix

SHA 256 checksum:

=

Total de descargas 408.986.300

Para esta versión 46.713

Versión publicada:

Licencias:

N/A

Versión de Ruby requerida: >= 1.8.7

Nuevas versiones requieren AMF: true

Enlace: