Puma vs Unicorn

Puma
Puma

235
51
16
Unicorn
Unicorn

477
0
292
Add tool

Puma vs Unicorn: What are the differences?

Puma: A Modern, Concurrent Web Server for Ruby. Unlike other Ruby Webservers, Puma was built for speed and parallelism. Puma is a small library that provides a very fast and concurrent HTTP 1.1 server for Ruby web applications; Unicorn: Rack HTTP server for fast clients and Unix. Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be served by placing a reverse proxy capable of fully buffering both the the request and response in between Unicorn and slow clients.

Puma and Unicorn can be categorized as "Web Servers" tools.

"Easy" is the primary reason why developers consider Puma over the competitors, whereas "Fast" was stated as the key factor in picking Unicorn.

Puma and Unicorn are both open source tools. Puma with 5.78K GitHub stars and 987 forks on GitHub appears to be more popular than Unicorn with 1.35K GitHub stars and 249 GitHub forks.

Instacart, Harvest, and New Relic are some of the popular companies that use Unicorn, whereas Puma is used by Yammer, Product Hunt, and GrowthHackers. Unicorn has a broader approval, being mentioned in 176 company stacks & 55 developers stacks; compared to Puma, which is listed in 73 company stacks and 30 developer stacks.

What is Puma?

Unlike other Ruby Webservers, Puma was built for speed and parallelism. Puma is a small library that provides a very fast and concurrent HTTP 1.1 server for Ruby web applications.

What is Unicorn?

Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be served by placing a reverse proxy capable of fully buffering both the the request and response in between Unicorn and slow clients.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Puma?
Why do developers choose Unicorn?
What are the cons of using Puma?
What are the cons of using Unicorn?
What companies use Puma?
What companies use Unicorn?
What are some alternatives to Puma and Unicorn?
Atlas
Atlas is one foundation to manage and provide visibility to your servers, containers, VMs, configuration management, service discovery, and additional operations services.
nginx
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
Apache HTTP Server
The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet.
Microsoft IIS
Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
Apache Tomcat
Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
See all alternatives
What tools integrate with Puma?
What tools integrate with Unicorn?
    No integrations found
      No integrations found
      Decisions about Puma and Unicorn
      No stack decisions found
      Interest over time
      Reviews of Puma and Unicorn
      No reviews found
      How developers use Puma and Unicorn
      Avatar of SmartLogic
      SmartLogic uses UnicornUnicorn

      Rolling deploys are awesome! We use Unicorn to keep downtime to a minimum as we iterate quickly for our clients.

      Avatar of Avalanche Network
      Avalanche Network uses UnicornUnicorn

      Our super server that runs a web instance and a worker instance.

      Avatar of douglasresende
      douglasresende uses UnicornUnicorn

      I use with my Ruby on Rails projects.

      Avatar of Karma
      Karma uses UnicornUnicorn

      Our go-to Ruby application server.

      Avatar of Oded Arbel
      Oded Arbel uses PumaPuma

      Server for Rails-powered API

      Avatar of Satoru Ishikawa
      Satoru Ishikawa uses PumaPuma

      Heroku で動かすWebサーバー

      Avatar of Jamie Yun
      Jamie Yun uses PumaPuma

      expert

      How much does Puma cost?
      How much does Unicorn cost?
      Pricing unavailable
      Pricing unavailable
      News about Unicorn
      More news