Puma website screenshot

Puma

Puma is a simple, fast, multi-threaded, and highly parallel HTTP 1.1 server for Ruby/Rack applications. It is the most popular Ruby web server and the default server for Ruby on Rails, supporting SSL, zero-downtime rolling restarts, and a built-in request bufferer. Puma is an open-source application server and not a hosted service, so it does not expose a public REST API; integration is through configuration, Rack middleware, and the Puma control application server.

1 APIs 0 Features
Web ServerRubyRackApplication ServerHTTPOpen Source

APIs

Puma Control/Status Application

Puma ships with an optional control/status HTTP application that can be bound to a local port or Unix socket and queried for runtime statistics (busy threads, worker status, bac...

Collections

Resources

🔗
DomainSecurity
DomainSecurity
🔑
Authentication
Authentication
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubOrganization
GitHubOrganization
👥
GitHubRepository
GitHubRepository
🔗
RubyGems
RubyGems
🔗
Issues
Issues
🔗
Forums
Forums
🔗
License
License

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Puma Control/Status Application API
  version: 1.0.0
request:
  auth:
    type: apikey
    key: token
    value: '{{token}}'
    placement: query
items:
- info:
    name: Launcher statistics
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/stats
  docs: Returns runtime statistics for the Puma launcher (workers, busy threads, backlog) as JSON.
- info:
    name: GC statistics
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/gc-stats
  docs: Returns Ruby garbage collector statistics as JSON.
- info:
    name: Run garbage collection
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/gc
  docs: Triggers a Ruby `GC.start` in the Puma process.
- info:
    name: Thread backtraces
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/thread-backtraces
  docs: Returns the current thread backtraces for the Puma process as a JSON array.
- info:
    name: Hot restart
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/restart
  docs: Performs a hot restart of the Puma server.
- info:
    name: Phased restart
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/phased-restart
  docs: Performs a phased (rolling) restart in cluster mode. Returns 404 when phased restart is unavailable (e.g. single mode).
- info:
    name: Stop the server
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/stop
  docs: Stops the Puma server gracefully.
- info:
    name: Halt the server
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/halt
  docs: Halts the Puma server immediately.
- info:
    name: Refork workers
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/refork
  docs: Triggers a refork of cluster workers. Returns 404 if refork is unavailable.
- info:
    name: Reload worker directory
    type: http
  http:
    method: GET
    url: http://127.0.0.1:9293/reload-worker-directory
  docs: Reloads the working directory used by workers. Returns 404 if unavailable.
bundled: true