Puma (web server) explained

Puma
Author:Evan Phoenix
Released:2011
Programming Language:Ruby, C
Operating System:Cross-platform
Language:English
Genre:Web server
License:BSD 3-Clause

Puma is an HTTP web server derived from Mongrel and written by Evan Phoenix. It stresses speed and efficient use of memory.

Reception and use

Puma is the web server shipped with Mastodon[1] and recommended by the Heroku hosting provider as a replacement for Unicorn.[2]

Deliveroo published a benchmark comparing the two servers and concluded “Puma performs better than Unicorn in all tests that were either heavily IO-bound or that interleaved IO and CPU work”, but that Unicorn was still slightly better performing in situations where CPU load was the limiting factor.[3]

Notes and References

  1. Web site: Scaling Mastodon . Eugen . Rochko . Eugen Rochko . 12 April 2017 . . dead . https://web.archive.org/web/20181208212453/https://medium.com/tootsuite/scaling-mastodon-1becde463090 . 8 December 2018.
  2. Web site: Puma is Now the Recommended Ruby Webserver . 23 January 2015 . Heroku Dev Center.
  3. News: Unicorn vs Puma: Rails server benchmarks . Tommaso . Pavese . 21 December 2016 . Deliveroo.engineering.