RubyGems Navigation menu

puma 0.9.4

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:
= 複製 已複製

安裝:
=

版本列表:

  1. 6.4.2 - January 08, 2024 java (248.0 KB)
  2. 6.4.2 - January 08, 2024 (225.5 KB)
  3. 6.4.1 - January 03, 2024 java (247.5 KB)
  4. 6.4.1 - January 02, 2024 (225.5 KB)
  5. 6.4.0 - September 21, 2023 java (247.5 KB)
  6. 0.9.4 - March 02, 2012 (46.0 KB)
顯示所有版本(共 331)

Runtime 相依性套件 (1):

rack ~> 1.2

Development 相依性套件 (3):

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

擁有者:

作者:

  • Evan Phoenix

SHA 256 checksum:

b5edc508730afd245cfe02cd442f13f8cf0fededb64629f9125a1dab8acde218

總下載次數 353,817,217

這個版本 3,405

License:

Ruby 版本需求: >= 1.8.7

New versions require MFA: true

相關連結: