Get Advice Icon

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

Jetty
Jetty

312
151
+ 1
41
Puma
Puma

263
149
+ 1
16
Add tool

Jetty vs Puma: What are the differences?

Jetty: An open-source project providing an HTTP server, HTTP client, and javax.servlet container. Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters. See the Jetty Powered page for more uses of Jetty; 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.

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

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

Jetty and Puma are both open source tools. Puma with 5.78K GitHub stars and 987 forks on GitHub appears to be more popular than Jetty with 2.55K GitHub stars and 1.4K GitHub forks.

According to the StackShare community, Puma has a broader approval, being mentioned in 73 company stacks & 30 developers stacks; compared to Jetty, which is listed in 58 company stacks and 16 developer stacks.

What is Jetty?

Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters. See the Jetty Powered page for more uses of Jetty.

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.
Get Advice Icon

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

Why do developers choose Jetty?
Why do developers choose Puma?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use Jetty?
What companies use Puma?

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

What tools integrate with Jetty?
What tools integrate with Puma?
    No integrations found
    What are some alternatives to Jetty and Puma?
    Apache Tomcat
    Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
    Netty
    Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
    Wildfly
    It is a flexible, lightweight, managed application runtime that helps you build amazing applications. It supports the latest standards for web development.
    JBoss
    An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.
    GlassFish
    An Application Server means, It can manage Java EE applications You should use GlassFish for Java EE enterprise applications. The need for a seperate Web server is mostly needed in a production environment.
    See all alternatives
    Decisions about Jetty and Puma
    Jerome Dalbert
    Jerome Dalbert
    Senior Backend Engineer at StackShare | 6 upvotes 100K views
    atStackShareStackShare
    Unicorn
    Unicorn
    Puma
    Puma
    Rails
    Rails

    We switched from Unicorn (process model) to Puma (threaded model) to decrease the memory footprint of our Rails production web server. Memory indeed dropped from 6GB to only 1GB!

    We just had to decrease our worker count and increase our thread count instead. Performance (response time and throughput) remained the same, if not slightly better. We had no thread-safety errors, which was good.

    Free bonus points are:

    • Requests are blazing fast on our dev and staging environments!
    • Puma has first-class support for WebSockets, so we know for sure that Rails ActionCable or GraphQL subscriptions will work great.
    • Being on Puma makes us even more "default Rails"-compliant since it is the default Rails web server these days.
    See more
    Interest over time
    Reviews of Jetty and Puma
    No reviews found
    How developers use Jetty and Puma
    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 Jetty cost?
    How much does Puma cost?
    Pricing unavailable
    Pricing unavailable
    News about Jetty
    More news