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

Mongoose Web Server

12
37
+ 1
3
Puma

839
264
+ 1
20
Add tool

Mongoose Web Server vs Puma: What are the differences?

What is Mongoose Web Server? The most easy to use web server on the planet. Mongoose is built on top of Libmongoose embedded library, which can turn anything into a web server in 5 minutes worth of effort and few lines of code. Libmongoose is used to serve Web GUI on embedded devices, implement RESTful services, RPC frameworks (e.g. JSON-RPC), handle telemetry data exchange, and perform many other tasks in various different industries including aerospace, manufacturing, finance, research, automotive, gaming, IT.

What is 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.

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

Mongoose Web Server and Puma are both open source tools. Puma with 5.78K GitHub stars and 987 forks on GitHub appears to be more popular than Mongoose Web Server with 5.51K GitHub stars and 1.61K GitHub forks.

Advice on Mongoose Web Server and Puma
Mark Ndungu
Software Developer at Nouveta · | 4 upvotes · 31.5K 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
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Mongoose Web Server
Pros of Puma
  • 1
    Light weight
  • 1
    Easy to configure
  • 1
    Web server
  • 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 Mongoose Web Server
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 Mongoose Web Server?

    Mongoose is built on top of Libmongoose embedded library, which can turn anything into a web server in 5 minutes worth of effort and few lines of code. Libmongoose is used to serve Web GUI on embedded devices, implement RESTful services, RPC frameworks (e.g. JSON-RPC), handle telemetry data exchange, and perform many other tasks in various different industries including aerospace, manufacturing, finance, research, automotive, gaming, IT.

    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 Mongoose Web Server and Puma as a desired skillset
    What companies use Mongoose Web Server?
    What companies use Puma?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    Blog Posts

    What are some alternatives to Mongoose Web Server 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.
    Amazon EC2
    It is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.
    Firebase
    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
    Amazon Web Services (AWS)
    It is a comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally.
    See all alternatives