Alternatives to HAProxy logo

Alternatives to HAProxy

NGINX, Traefik, Envoy, Squid, and Varnish are the most popular alternatives and competitors to HAProxy.
2.2K
1.8K
+ 1
543

What is HAProxy and what are its top alternatives?

HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
HAProxy is a tool in the Load Balancer / Reverse Proxy category of a tech stack.

Top Alternatives to HAProxy

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

  • Traefik

    Traefik

    A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically. ...

  • Envoy

    Envoy

    Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures. ...

  • Squid

    Squid

    Squid reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL. ...

  • Varnish

    Varnish

    Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture. ...

  • Pound

    Pound

    Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively. ...

  • F5

    F5

    It powers apps from development through their entire life cycle, so our customers can deliver differentiated, high-performing, and secure digital experiences. ...

  • Keepalived

    Keepalived

    The main goal of this project is to provide simple and robust facilities for loadbalancing and high-availability to Linux system and Linux based infrastructures. ...

HAProxy alternatives & related posts

NGINX logo

NGINX

84.7K
35.9K
5.5K
A high performance free open source web server powering busiest sites on the Internet.
84.7K
35.9K
+ 1
5.5K
PROS OF NGINX
  • 1.5K
    High-performance http server
  • 901
    Performance
  • 732
    Easy to configure
  • 608
    Open source
  • 530
    Load balancer
  • 287
    Scalability
  • 285
    Free
  • 222
    Web server
  • 174
    Simplicity
  • 133
    Easy setup
  • 29
    Content caching
  • 19
    Web Accelerator
  • 14
    Capability
  • 13
    Fast
  • 11
    Predictability
  • 10
    High-latency
  • 6
    Reverse Proxy
  • 6
    Fast and lightweight
  • 6
    Supports http/2
  • 4
    Enterprise version
  • 4
    Lots of Modules
  • 4
    The best of them
  • 4
    Great Community
  • 3
    Reversy Proxy
  • 3
    Streaming media
  • 3
    High perfomance proxy server
  • 3
    Streaming media delivery
  • 3
    Embedded Lua scripting
  • 2
    Slim
  • 2
    Lightweight
  • 2
    Fast and easy to set up
  • 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
  • 0
    A
CONS OF NGINX
  • 5
    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
Traefik logo

Traefik

553
814
79
The Cloud Native Edge Router
553
814
+ 1
79
PROS OF TRAEFIK
  • 18
    Kubernetes integration
  • 15
    Watch service discovery updates
  • 12
    Letsencrypt support
  • 11
    Several backends
  • 11
    Swarm integration
  • 4
    Ready-to-use dashboard
  • 4
    Rancher integration
  • 2
    Easy setup
  • 1
    Mantl integration
  • 1
    Mesos integration
CONS OF TRAEFIK
  • 7
    Complicated setup
  • 6
    Not very performant (fast)

related Traefik posts

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
Shared insights
on
EnvoyEnvoyHAProxyHAProxyTraefikTraefikNGINXNGINX

We are looking to configure a load balancer with some admin UI. We are currently struggling to decide between NGINX, Traefik, HAProxy, and Envoy. We will use a load balancer in a containerized environment and the load balancer should flexible and easy to reload without changes in case containers are scaled up.

See more
Envoy logo

Envoy

194
359
6
C++ front/service proxy
194
359
+ 1
6
PROS OF ENVOY
  • 6
    GRPC-Web
CONS OF ENVOY
    Be the first to leave a con

    related Envoy posts

    Joseph Irving
    DevOps Engineer at uSwitch · | 7 upvotes · 92.2K views
    Shared insights
    on
    KubernetesKubernetesEnvoyEnvoyGoGo
    at

    At uSwitch we wanted a way to load balance between our multiple Kubernetes clusters in AWS to give us added redundancy. We already had ingresses defined for all our applications so we wanted to build on top of that, instead of creating a new system that would require our various teams to change code/config etc.

    Envoy seemed to tick a lot of boxes:

    • Loadbalancing capabilities right out of the box: health checks, circuit breaking, retries etc.
    • Tracing and prometheus metrics support
    • Lightweight
    • Good community support

    This was all good but what really sold us was the api that supported dynamic configuration. This would allow us to dynamically configure envoy to route to ingresses and clusters as they were created or destroyed.

    To do this we built a tool called Yggdrasil using their Go sdk. Yggdrasil effectively just creates envoy configuration from Kubernetes ingress objects, so you point Yggdrasil at your kube clusters, it generates config from the ingresses and then envoy can loadbalance between your clusters for you. This is all done dynamically so as soon as new ingress is created the envoy nodes get updated with the new config. Importantly this all worked with what we already had, no need to create new config for every application, we just put this on top of it.

    See more
    Shared insights
    on
    EnvoyEnvoyHAProxyHAProxyTraefikTraefikNGINXNGINX

    We are looking to configure a load balancer with some admin UI. We are currently struggling to decide between NGINX, Traefik, HAProxy, and Envoy. We will use a load balancer in a containerized environment and the load balancer should flexible and easy to reload without changes in case containers are scaled up.

    See more
    Squid logo

    Squid

    74
    129
    14
    A caching proxy for the Web supporting HTTP, HTTPS, FTP, and more
    74
    129
    + 1
    14
    PROS OF SQUID
    • 3
      Easy to config
    • 2
      Cluster
    • 1
      Very Fast
    • 1
      Very Stable
    • 1
      Open Source
    • 1
      Widely Used
    • 1
      Great community
    • 1
      ESI
    • 1
      ICP
    • 1
      Web application accelerator
    • 1
      High-performance
    • 0
      Qq
    CONS OF SQUID
      Be the first to leave a con

      related Squid posts

      Varnish logo

      Varnish

      11K
      1.6K
      358
      High-performance HTTP accelerator
      11K
      1.6K
      + 1
      358
      PROS OF VARNISH
      • 102
        High-performance
      • 66
        Very Fast
      • 56
        Very Stable
      • 43
        Very Robust
      • 36
        HTTP reverse proxy
      • 20
        Open Source
      • 17
        Web application accelerator
      • 10
        Easy to config
      • 4
        Widely Used
      • 3
        Great community
      • 1
        Essential software for HTTP
      CONS OF VARNISH
        Be the first to leave a con

        related Varnish posts

        Tom Klein

        We're using Git through GitHub for public repositories and GitLab for our private repositories due to its easy to use features. Docker and Kubernetes are a must have for our highly scalable infrastructure complimented by HAProxy with Varnish in front of it. We are using a lot of npm and Visual Studio Code in our development sessions.

        See more

        Around the time of their Series A, Pinterest’s stack included Python and Django, with Tornado and Node.js as web servers. Memcached / Membase and Redis handled caching, with RabbitMQ handling queueing. Nginx, HAproxy and Varnish managed static-delivery and load-balancing, with persistent data storage handled by MySQL.

        See more
        Pound logo

        Pound

        10
        19
        0
        A reverse proxy, load balancer and HTTPS front-end for Web server(s)
        10
        19
        + 1
        0
        PROS OF POUND
          Be the first to leave a pro
          CONS OF POUND
            Be the first to leave a con

            related Pound posts

            F5 logo

            F5

            14
            12
            0
            Secure application delivery
            14
            12
            + 1
            0
            PROS OF F5
              Be the first to leave a pro
              CONS OF F5
                Be the first to leave a con

                related F5 posts

                Keepalived logo

                Keepalived

                27
                35
                4
                A routing software written in C
                27
                35
                + 1
                4
                PROS OF KEEPALIVED
                • 1
                  2 nodes HA cluster management
                • 1
                  Extremely fast (IPVS)
                • 1
                  Virtual IP HA with VRRP
                • 1
                  Load Balancer
                CONS OF KEEPALIVED
                  Be the first to leave a con

                  related Keepalived posts