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

Passenger

1.4K
296
+ 1
199
Puma

713
260
+ 1
20
Add tool

Passenger vs Puma: What are the differences?

Passenger: A fast and robust web server and application server for Ruby, Python and Node.js. Phusion Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex; 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.

Passenger and Puma can be primarily classified as "Web Servers" tools.

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

Passenger and Puma are both open source tools. It seems that Puma with 5.73K GitHub stars and 974 forks on GitHub has more adoption than Passenger with 4.4K GitHub stars and 506 GitHub forks.

Movielala, DSTLD, and Fab are some of the popular companies that use Passenger, whereas Puma is used by StackShare, Yammer, and Helpful. Passenger has a broader approval, being mentioned in 372 company stacks & 41 developers stacks; compared to Puma, which is listed in 73 company stacks and 29 developer stacks.

Advice on Passenger and Puma
Mark Ndungu
Software Developer at Nouveta · | 4 upvotes · 23.1K views
Needs advice
on
PumaPuma
and
UnicornUnicorn

I have an integration service that pulls data from third party systems saves it and returns it to the user of the service. We can pull large data sets with the service and response JSON can go up to 5MB with gzip compression. I currently use Rails 6 and Ruby 2.7.2 and Puma web server. Slow clients tend to prevent other users from accessing the system. Am considering a switch to Unicorn.

See more
Replies (1)
Recommends
on
PumaPuma

Consider trying to use puma workers first. puma -w basically. That will launch multiple puma processes to manage the requests, like unicorn, but also run threads within those processes. You can turn the number of workers and number of threads to find the right memory footprint / request per second balance.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Passenger
Pros of Puma
  • 43
    Nginx integration
  • 36
    Great for rails
  • 21
    Fast web server
  • 19
    Free
  • 15
    Lightweight
  • 14
    Scalable
  • 13
    Rolling restarts
  • 10
    Multithreading
  • 9
    Out-of-process architecture
  • 6
    Low-bandwidth
  • 2
    Virtually infinitely scalable
  • 2
    Deployment error resistance
  • 2
    Mass deployment
  • 2
    High-latency
  • 1
    Many of its good features are only enterprise level
  • 1
    Apache integration
  • 1
    Secure
  • 1
    Asynchronous I/O
  • 1
    Multiple programming language support
  • 4
    Free
  • 3
    Convenient
  • 3
    Easy
  • 2
    Multithreaded
  • 2
    Consumes less memory than Unicorn
  • 2
    Default Rails server
  • 2
    First-class support for WebSockets
  • 1
    Lightweight
  • 1
    Fast

Sign up to add or upvote prosMake informed product decisions

Cons of Passenger
Cons of Puma
  • 0
    Cost (some features require paid/pro)
  • 0
    Uses `select` (limited client count)

Sign up to add or upvote consMake informed product decisions

What is Passenger?

Phusion Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex.

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 Passenger and Puma as a desired skillset
Pinterest
San Francisco, CA, US; , CA, US
Pinterest
San Francisco, CA, US; , CA, US
What companies use Passenger?
What companies use Puma?
See which teams inside your own company are using Passenger or Puma.
Sign up for StackShare EnterpriseLearn More

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

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

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    What are some alternatives to Passenger and Puma?
    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.
    Apache Tomcat
    Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
    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.
    OpenResty
    OpenResty (aka. ngx_openresty) is a full-fledged web application server by bundling the standard Nginx core, lots of 3rd-party Nginx modules, as well as most of their external dependencies.
    See all alternatives