Need advice about which tool to choose?Ask the StackShare community!

Gunicorn

814
678
+ 1
71
Puma

373
221
+ 1
19
Add tool

Gunicorn vs Puma: What are the differences?

Gunicorn: A Python WSGI HTTP Server for UNIX. Gunicorn is a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy; 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.

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

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

Gunicorn and Puma are both open source tools. It seems that Gunicorn with 5.96K GitHub stars and 1.12K forks on GitHub has more adoption than Puma with 5.78K GitHub stars and 987 GitHub forks.

Instagram, Fitocracy, and Kippt are some of the popular companies that use Gunicorn, whereas Puma is used by Yammer, Product Hunt, and GrowthHackers. Gunicorn has a broader approval, being mentioned in 184 company stacks & 51 developers stacks; compared to Puma, which is listed in 73 company stacks and 30 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Gunicorn
Pros of Puma
  • 31
    Python
  • 30
    Easy setup
  • 7
    Reliable
  • 2
    Light
  • 1
    Fast
  • 3
    Convenient
  • 3
    Free
  • 3
    Easy
  • 2
    Multithreaded
  • 2
    Default Rails server
  • 2
    First-class support for WebSockets
  • 2
    Consumes less memory than Unicorn
  • 1
    Lightweight
  • 1
    Fast

Sign up to add or upvote prosMake informed product decisions

Cons of Gunicorn
Cons of Puma
    Be the first to leave a con
    • 0
      Uses `select` (limited client count)

    Sign up to add or upvote consMake informed product decisions

    What is Gunicorn?

    Gunicorn is a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy.

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    Jobs that mention Gunicorn and Puma as a desired skillset
    What companies use Gunicorn?
    What companies use Puma?
    See which teams inside your own company are using Gunicorn or Puma.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Gunicorn?
    What tools integrate with Puma?
      No integrations found

      Blog Posts

      What are some alternatives to Gunicorn and Puma?
      uWSGI
      The uWSGI project aims at developing a full stack for building hosting 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.
      Flask
      Flask is intended for getting started very quickly and was developed with best intentions in mind.
      Waitress
      It is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.7+ and Python 3.4+. It is also known to run on PyPy 1.6.0 on UNIX.
      gevent
      It is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.
      See all alternatives