HAProxy logo
The Reliable, High Performance TCP/HTTP Load Balancer
1.7K
1K
475

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.
HAProxy is a tool in the Load Balancer / Reverse Proxy category of a tech stack.

Who uses HAProxy?

Companies
586 companies reportedly use HAProxy in their tech stacks, including Instagram, Dropbox, and medium.com.

Developers
1046 developers on StackShare have stated that they use HAProxy.

HAProxy Integrations

Tutum, Server Density, Datadog, Honeycomb, and Boundary are some of the popular tools that integrate with HAProxy. Here's a list of all 7 tools that integrate with HAProxy.

Why developers like HAProxy?

Here’s a list of reasons why companies and developers use HAProxy
HAProxy Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose HAProxy in their tech stack.

James Cunningham
James Cunningham
Operations Engineer at Sentry · | 17 upvotes · 7K views
atSentrySentry
HAProxy
#LoadBalancerReverseProxy
#WebServers

When accepting events, we would be crazy to just expose the Python web process to the public Internet and say, “Alright, give me all you got!” Instead, we use two different proxying services that sit in front of our web machines:

1) NGINX, our product-aware proxy, handles many of the upper bounds that we have deemed reasonable. It is responsible for a variety of bounds, but its most popular one is protecting Sentry from exceedingly large event volumes. Ever so often, a user will run into a problem where they’ve deployed their code out into the abyss, and their event volume clocks in at a few zeroes higher than what they signed up for.

2) In front of NGINX, we use another proxying service called HAProxy, which acts as a delta of connections without any of that product awareness logic and has a lot higher throughput. All it does is accept connections and send them off to different NGINX servers, allowing us to gracefully add or remove NGINX servers as we see fit.

#WebServers #LoadBalancerReverseProxy

See more
Tom Klein
Tom Klein
CEO at Gentlent · | 9 upvotes · 13.2K views
atGentlentGentlent
Visual Studio Code
npm
Varnish
HAProxy
Kubernetes
Docker
GitLab
GitHub
Git

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
StackShare Editors
StackShare Editors
HAProxy
Zookeeper

Early 2013

In early 2013, Airbnb tackled the problem of service discovery and load balancing in the context of a service oriented architecture (SOA) by building and releasing an open source tool called SmartStack. SmartStack is built on two other open source tools created by Airbnb called Nerve and Synapse.

Nerve is a service registration daemon that performs health checks that “creates ephemeral nodes in Zookeeper which contain information about the address/port combos for a backend available to serve requests for a particular service.”

Synapse is a transparent service discovery framework for connecting an SOA that reads the information in Zookeeper for available backends, and then uses that information to configure a local HAProxy process, which then routes requests between clients and services.

See more
StackShare Editors
StackShare Editors
| 5 upvotes · 4.7K views
atUber TechnologiesUber Technologies
HAProxy
StatsD
nginx

The frontline API is proxied through a HAProxy load balancer with NGINX as the fronted, which also handles SSL termination. This frontline API consist of 600 stateless endpoints that join together multiple services.

As part of the Marketplace stack, engineers in this area integrate with various other internal services, including logtron to log to disk and Kafka and uber-statsd-client, the Node.js client for statsd.

See more
StackShare Editors
StackShare Editors
HAProxy
Varnish
Tornado
Django
Redis
RabbitMQ
nginx
Memcached
MySQL
Python
Node.js

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
Abdullah Diaa
Abdullah Diaa
CTO at PushBots · | 3 upvotes · 6.2K views
atPushBotsPushBots
HAProxy
nginx

We've switched our static pages from nginx to HAProxy. Using stick tables, traffic rules and ACLs allowed us to have better control over our traffic while load balancing. Also, performance gain with latency, threads, and processes.

See more

HAProxy Alternatives & Comparisons

What are some alternatives to HAProxy?
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
Træfɪk is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker, Swarm, Mesos/Marathon, Kubernetes, Consul, Etcd, Zookeeper, BoltDB, Rest API, file...) to manage its configuration 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

HAProxy's Stats

- No public GitHub repository available -

HAProxy's Followers
1023 developers follow HAProxy to keep up with related blogs and decisions.
Roni Laukkarinen
raspbeguy9682
Michael Hobbs
Богдан Бешкарев
Ramesh Jha
Sekou Doumbouya
Luca Santini
Phuc Tran Hoang
Siyuan Miao
Naresh Kancharla