Current location:

Puma Web Server v6.4.2

Collection
report
Puma is a Ruby Web server built for concurrency. Puma is a simple, fast, multi-threaded, highly concurrent HTTP 1.1 server for Ruby/Rack applications. It is only applicable to running Rack applications.
  • Author:
    None
  • Demo site:
    None
  • Current version:
    v6.4.2
  • Date:
    2024-02-07
  • Related links:
    Home Page
  • Classification:
    Server application Ruby
  • Software rating:
  • Download popularity:
    four hundred and seventy
Free download
Source code details
Free download
Contact customer service/join the group
Source code attribute
to grant authorization Free Admission
size 486.7KB
language Ruby
Function introduction
Puma is a Ruby Web server built for concurrency. Puma is a simple, fast, multi-threaded, highly concurrent HTTP 1.1 server for Ruby/Rack applications. It is only applicable to running Rack applications.

Designed for speed and concurrency
Puma uses C optimized Ragel extension (inherited from Mongrel) to process requests. This extension provides fast and accurate HTTP 1.1 protocol parsing in a portable way. then, Puma uses thread pools to process requests. Each request is processed in a separate thread, so the true concurrent Ruby implementation (JRuby, Rubinius) will use all available CPU cores.
Puma is designed as the preferred server for Rubinius, but it also works well with JRuby and MRI.
On MRI, there is a global VM lock (GVL) to ensure that only one thread can run Ruby code at a time. However, if you want to do a lot of blocking IO (such as HTTP calls to external APIs (such as Twitter)), Puma can still improve the throughput of MRI by allowing IO to wait in parallel.

Quick Start
$ gem install puma
$ puma
If there are no parameters, Puma will look for a rackup (. ru) file in the working directory named config. ru.
Paid services
Template/plug-in

Contact customer service

Mobile version

Scan to enter the mobile version

Back to top