Alternatives to Unicorn logo

Alternatives to Unicorn

Puma, Unicorns, NGINX, Apache HTTP Server, and Apache Tomcat are the most popular alternatives and competitors to Unicorn.
485
388
+ 1
295

What is Unicorn and what are its top alternatives?

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.
Unicorn is a tool in the Web Servers category of a tech stack.
Unicorn is an open source tool with 1.4K GitHub stars and 263 GitHub forks. Here’s a link to Unicorn's open source repository on GitHub

Top Alternatives to Unicorn

  • Puma
    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. ...

  • Unicorns
    Unicorns

    Live stream your iPhone or iPad screen. Produced by Lookback.

  • NGINX
    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
    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

    Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. ...

  • Microsoft IIS
    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

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

  • LiteSpeed
    LiteSpeed

    It is a drop-in Apache replacement and the leading high-performance, high-scalability server. You can replace your existing Apache server with it without changing your configuration or operating system details. As a drop-in replacement, it allows you to quickly eliminate Apache bottlenecks in 15 minutes with zero downtime. ...

Unicorn alternatives & related posts

Puma logo

Puma

429
254
19
A Modern, Concurrent Web Server for Ruby
429
254
+ 1
19
PROS OF PUMA
  • 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
CONS OF PUMA
  • 0
    Uses `select` (limited client count)

related Puma posts

Jerome Dalbert
Senior Backend Engineer at StackShare · | 6 upvotes · 163.5K views
Shared insights
on
UnicornUnicornPumaPumaRailsRails
at

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
Mark Ndungu
Software Developer at Nouveta · | 4 upvotes · 12.8K views
Shared insights
on
UnicornUnicornPumaPumaRubyRubyRailsRails

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
Unicorns logo

Unicorns

2
8
0
Live stream your iPhone screen
2
8
+ 1
0
PROS OF UNICORNS
    Be the first to leave a pro
    CONS OF UNICORNS
      Be the first to leave a con

      related Unicorns posts

      NGINX logo

      NGINX

      104.1K
      53.4K
      5.5K
      A high performance free open source web server powering busiest sites on the Internet.
      104.1K
      53.4K
      + 1
      5.5K
      PROS OF NGINX
      • 1.4K
        High-performance http server
      • 894
        Performance
      • 729
        Easy to configure
      • 607
        Open source
      • 530
        Load balancer
      • 288
        Free
      • 288
        Scalability
      • 224
        Web server
      • 175
        Simplicity
      • 136
        Easy setup
      • 30
        Content caching
      • 21
        Web Accelerator
      • 15
        Capability
      • 14
        Fast
      • 12
        Predictability
      • 12
        High-latency
      • 8
        Reverse Proxy
      • 7
        The best of them
      • 7
        Supports http/2
      • 5
        Enterprise version
      • 5
        Great Community
      • 5
        Lots of Modules
      • 4
        High perfomance proxy server
      • 3
        Embedded Lua scripting
      • 3
        Reversy Proxy
      • 3
        Streaming media
      • 3
        Streaming media delivery
      • 2
        Blash
      • 2
        Lightweight
      • 2
        Fast and easy to set up
      • 2
        Slim
      • 2
        saltstack
      • 1
        Ingress controller
      • 1
        Virtual hosting
      • 1
        Narrow focus. Easy to configure. Fast
      • 1
        Along with Redis Cache its the Most superior
      • 1
        GRPC-Web
      CONS OF NGINX
      • 8
        Advanced features require subscription

      related NGINX posts

      Recently I have been working on an open source stack to help people consolidate their personal health data in a single database so that AI and analytics apps can be run against it to find personalized treatments. We chose to go with a #containerized approach leveraging Docker #containers with a local development environment setup with Docker Compose and nginx for container routing. For the production environment we chose to pull code from GitHub and build/push images using Jenkins and using Kubernetes to deploy to Amazon EC2.

      We also implemented a dashboard app to handle user authentication/authorization, as well as a custom SSO server that runs on Heroku which allows experts to easily visit more than one instance without having to login repeatedly. The #Backend was implemented using my favorite #Stack which consists of FeathersJS on top of Node.js and ExpressJS with PostgreSQL as the main database. The #Frontend was implemented using React, Redux.js, Semantic UI React and the FeathersJS client. Though testing was light on this project, we chose to use AVA as well as ESLint to keep the codebase clean and consistent.

      See more
      Gabriel Pa
      Shared insights
      on
      TraefikTraefikNGINXNGINX
      at

      We switched to Traefik so we can use the REST API to dynamically configure subdomains and have the ability to redirect between multiple servers.

      We still use nginx with a docker-compose to expose the traffic from our APIs and TCP microservices, but for managing routing to the internet Traefik does a much better job

      The biggest win for naologic was the ability to set dynamic configurations without having to restart the server

      See more
      Apache HTTP Server logo

      Apache HTTP Server

      62.5K
      21.1K
      1.4K
      The most popular web server on the Internet since April 1996
      62.5K
      21.1K
      + 1
      1.4K
      PROS OF APACHE HTTP SERVER
      • 478
        Web server
      • 305
        Most widely-used web server
      • 218
        Virtual hosting
      • 148
        Fast
      • 138
        Ssl support
      • 45
        Since 1996
      • 28
        Asynchronous
      • 5
        Robust
      • 4
        Proven over many years
      • 1
        Mature
      • 1
        Perfect Support
      • 1
        Perfomance
      • 0
        Many available modules
      • 0
        Many available modules
      CONS OF APACHE HTTP SERVER
      • 4
        Hard to set up

      related Apache HTTP Server posts

      Tim Abbott
      Shared insights
      on
      NGINXNGINXApache HTTP ServerApache HTTP Server
      at

      We've been happy with nginx as part of our stack. As an open source web application that folks install on-premise, the configuration system for the webserver is pretty important to us. I have a few complaints (e.g. the configuration syntax for conditionals is a pain), but overall we've found it pretty easy to build a configurable set of options (see link) for how to run Zulip on nginx, both directly and with a remote reverse proxy in front of it, with a minimum of code duplication.

      Certainly I've been a lot happier with it than I was working with Apache HTTP Server in past projects.

      See more
      Marcel Kornegoor
      Shared insights
      on
      NGINXNGINXApache HTTP ServerApache HTTP Server

      nginx or Apache HTTP Server that's the question. The best choice depends on what it needs to serve. In general, Nginx performs better with static content, where Apache and Nginx score roughly the same when it comes to dynamic content. Since most webpages and web-applications use both static and dynamic content, a combination of both platforms may be the best solution.

      Since both webservers are easy to deploy and free to use, setting up a performance or feature comparison test is no big deal. This way you can see what solutions suits your application or content best. Don't forget to look at other aspects, like security, back-end compatibility (easy of integration) and manageability, as well.

      A reasonably good comparison between the two can be found in the link below.

      See more
      Apache Tomcat logo

      Apache Tomcat

      14.4K
      10.7K
      201
      An open source software implementation of the Java Servlet and JavaServer Pages technologies
      14.4K
      10.7K
      + 1
      201
      PROS OF APACHE TOMCAT
      • 79
        Easy
      • 72
        Java
      • 49
        Popular
      • 1
        Spring web
      CONS OF APACHE TOMCAT
      • 1
        Blocking - each http request block a thread

      related Apache Tomcat posts

      Остап Комплікевич

      I need some advice to choose an engine for generation web pages from the Spring Boot app. Which technology is the best solution today? 1) JSP + JSTL 2) Apache FreeMarker 3) Thymeleaf Or you can suggest even other perspective tools. I am using Spring Boot, Spring Web, Spring Data, Spring Security, PostgreSQL, Apache Tomcat in my project. I have already tried to generate pages using jsp, jstl, and it went well. However, I had huge problems via carrying already created static pages, to jsp format, because of syntax. Thanks.

      See more

      Java Spring JUnit

      Apache HTTP Server Apache Tomcat

      MySQL

      See more
      Microsoft IIS logo

      Microsoft IIS

      14.1K
      6.7K
      235
      A web server for Microsoft Windows
      14.1K
      6.7K
      + 1
      235
      PROS OF MICROSOFT IIS
      • 83
        Great with .net
      • 54
        I'm forced to use iis
      • 27
        Use nginx
      • 18
        Azure integration
      • 15
        Best for ms technologyes ms bullshit
      • 10
        Fast
      • 6
        Performance
      • 6
        Reliable
      • 4
        Powerful
      • 3
        Webserver
      • 3
        Simple to configure
      • 2
        Easy setup
      • 1
        Охуенный
      • 1
        Security
      • 1
        Shipped with Windows Server
      • 1
        Ssl integration
      CONS OF MICROSOFT IIS
        Be the first to leave a con

        related Microsoft IIS posts

        I am currently in school for computer science and am doing a class project about web servers. Our assignment is to research and select one of these web servers. Could you please let me know which one you would choose among NGINX, Microsoft IIS, and Apache HTTP Server and why?

        See more
        OpenResty logo

        OpenResty

        2.3K
        220
        0
        Turning Nginx into a Full-fledged Web App Server
        2.3K
        220
        + 1
        0
        PROS OF OPENRESTY
          Be the first to leave a pro
          CONS OF OPENRESTY
            Be the first to leave a con

            related OpenResty posts

            Chris McFadden
            VP, Engineering at SparkPost · | 7 upvotes · 272.2K views
            Shared insights
            on
            NGINXNGINXOpenRestyOpenRestyLuaLua
            at

            We use nginx and OpenResty as our API proxy running on EC2 for auth, caching, and some rate limiting for our dozens of microservices. Since OpenResty support embedded Lua we were able to write a custom access module that calls out to our authentication service with the resource, method, and access token. If that succeeds then critical account info is passed down to the underlying microservice. This proxy approach keeps all authentication and authorization in one place and provides a unified CX for our API users. Nginx is fast and cheap to run though we are always exploring alternatives that are also economical. What do you use?

            See more

            At Kong while building an internal tool, we struggled to route metrics to Prometheus and logs to Logstash without incurring too much latency in our metrics collection.

            We replaced nginx with OpenResty on the edge of our tool which allowed us to use the lua-nginx-module to run Lua code that captures metrics and records telemetry data during every request’s log phase. Our code then pushes the metrics to a local aggregator process (written in Go) which in turn exposes them in Prometheus Exposition Format for consumption by Prometheus. This solution reduced the number of components we needed to maintain and is fast thanks to NGINX and LuaJIT.

            See more
            LiteSpeed logo

            LiteSpeed

            2.2K
            121
            0
            A drop-in Apache replacement and the leading high-performance, high-scalability server
            2.2K
            121
            + 1
            0
            PROS OF LITESPEED
              Be the first to leave a pro
              CONS OF LITESPEED
                Be the first to leave a con

                related LiteSpeed posts