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

HAProxy

2.2K
1.8K
+ 1
551
Keepalived

28
36
+ 1
4
Add tool

HAProxy vs Keepalived: What are the differences?

Developers describe HAProxy as "The Reliable, High Performance TCP/HTTP Load Balancer". 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. On the other hand, Keepalived is detailed as "A routing software written in C". 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 can be classified as a tool in the "Load Balancer / Reverse Proxy" category, while Keepalived is grouped under "Open Source Service Discovery".

Instagram, Dropbox, and Medium are some of the popular companies that use HAProxy, whereas Keepalived is used by Gini, Groupe La Poste, and utry. HAProxy has a broader approval, being mentioned in 602 company stacks & 1060 developers stacks; compared to Keepalived, which is listed in 3 company stacks and 8 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of HAProxy
Pros of Keepalived
  • 130
    Load balancer
  • 100
    High performance
  • 68
    Very fast
  • 56
    Proxying for tcp and http
  • 55
    SSL termination
  • 30
    Open source
  • 27
    Reliable
  • 20
    Free
  • 18
    Well-Documented
  • 12
    Very popular
  • 7
    Runs health checks on backends
  • 7
    Suited for very high traffic web sites
  • 6
    Scalable
  • 5
    Ready to Docker
  • 4
    Powers many world's most visited sites
  • 2
    Work with NTLM
  • 2
    Ssl offloading
  • 2
    Simple
  • 1
    2 nodes HA cluster management
  • 1
    Extremely fast (IPVS)
  • 1
    Virtual IP HA with VRRP
  • 1
    Load Balancer

Sign up to add or upvote prosMake informed product decisions

Cons of HAProxy
Cons of Keepalived
  • 3
    Becomes your single point of failure
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    What is HAProxy?

    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.

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

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

    What companies use HAProxy?
    What companies use Keepalived?
    See which teams inside your own company are using HAProxy or Keepalived.
    Sign up for Private StackShareLearn More

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

    What tools integrate with HAProxy?
    What tools integrate with Keepalived?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    +30
    25
    14850
    +17
    18
    5592
    +44
    109
    49828
    What are some alternatives to HAProxy and Keepalived?
    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
    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
    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 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 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.
    See all alternatives
    How developers use HAProxy and Keepalived
    Trello uses
    HAProxy

    We use HAProxy to load balance between our webservers. It balances TCP between the machines round robin and leaves everything else to Node.js, leaving the connections open with a reasonably long time to live to support WebSockets and re-use of a TCP connection for AJAX polling.

    The Independent uses
    HAProxy

    HAProxy manages internal and origin load balancing using KeepaliveD. Two small servers host the entire site, never moving about 15% load even during the largest load spikes.

    Equinix-metal uses
    HAProxy

    We use HAProxy to balance traffic at various points in our stack, includgin nginx nodes on different physical machines, and api nodes on the backend.

    ssshake uses
    HAProxy

    I use HAproxy primarily for application routing and SSL termination. I also use its logs and statistics to visualize incoming traffic in Kibana.

    Clarabridge Engage uses
    HAProxy

    We use HAProxy to load balance web requests for our web application, but also for some internal load balancing of microservices.