Alternatives to HAProxy logo

Alternatives to HAProxy

NGINX, Traefik, Envoy, Squid, and Varnish are the most popular alternatives and competitors to HAProxy.
2.4K
2K
+ 1
556

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

104.9K
53.5K
5.5K
A high performance free open source web server powering busiest sites on the Internet.
104.9K
53.5K
+ 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
Traefik logo

Traefik

738
1.1K
93
The Cloud Native Edge Router
738
1.1K
+ 1
93
PROS OF TRAEFIK
  • 20
    Kubernetes integration
  • 18
    Watch service discovery updates
  • 14
    Letsencrypt support
  • 13
    Swarm integration
  • 12
    Several backends
  • 6
    Ready-to-use dashboard
  • 4
    Easy setup
  • 4
    Rancher integration
  • 1
    Mesos integration
  • 1
    Mantl integration
CONS OF TRAEFIK
  • 7
    Not very performant (fast)
  • 7
    Complicated setup

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

270
497
9
C++ front/service proxy
270
497
+ 1
9
PROS OF ENVOY
  • 9
    GRPC-Web
CONS OF ENVOY
    Be the first to leave a con

    related Envoy posts

    Joseph Irving
    DevOps Engineer at uSwitch · | 7 upvotes · 195.3K views
    Shared insights
    on
    KubernetesKubernetesEnvoyEnvoyGolangGolang
    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

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

      related Squid posts

      Varnish logo

      Varnish

      11.9K
      2.3K
      370
      High-performance HTTP accelerator
      11.9K
      2.3K
      + 1
      370
      PROS OF VARNISH
      • 104
        High-performance
      • 67
        Very Fast
      • 57
        Very Stable
      • 44
        Very Robust
      • 37
        HTTP reverse proxy
      • 21
        Open Source
      • 18
        Web application accelerator
      • 11
        Easy to config
      • 5
        Widely Used
      • 4
        Great community
      • 2
        Essential software for HTTP
      CONS OF VARNISH
        Be the first to leave a con

        related Varnish posts

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

        Pound

        11
        24
        0
        A reverse proxy, load balancer and HTTPS front-end for Web server(s)
        11
        24
        + 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

            28
            33
            0
            Secure application delivery
            28
            33
            + 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

                35
                53
                4
                A routing software written in C
                35
                53
                + 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