RubyGems Navigation menu

puma 1.2.1

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

版本列表:

  1. 4.2.1 - October 07, 2019 java (196.0 KB)
  2. 4.2.1 - October 07, 2019 (168.5 KB)
  3. 4.2.0 - September 23, 2019 java (196.0 KB)
  4. 4.2.0 - September 23, 2019 (168.5 KB)
  5. 4.1.1 - September 09, 2019 java (195.0 KB)
  6. 1.2.1 - April 11, 2012 (53.0 KB)
显示所有 (214 个版本)

Runtime 依赖关系 (1):

所有者:

作者:

  • Evan Phoenix

SHA 256 checksum:

5879357792006c91097cf6b3064bc67e57f8831bff4dad3b4102b28f461b536d

下载总次数 69,276,774

这个版本 6,466

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可s:

需要的 Ruby 版本:

相关链接: