StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
HAProxy
ByHAProxyHAProxy

HAProxy

#14in Infrastructure as a Service
Discussions16
Followers2.1k
OverviewDiscussions16

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 Infrastructure as a Service category of a tech stack.

HAProxy Pros & Cons

Pros of HAProxy

  • ✓Load balancer
  • ✓High performance
  • ✓Very fast
  • ✓Proxying for tcp and http
  • ✓SSL termination
  • ✓Open source
  • ✓Reliable
  • ✓Free
  • ✓Well-Documented
  • ✓Very popular

Cons of HAProxy

  • ✗Becomes your single point of failure

HAProxy Alternatives & Comparisons

What are some alternatives to HAProxy?

AWS Elastic Load Balancing (ELB)

AWS Elastic Load Balancing (ELB)

With Elastic Load Balancing, you can add and remove EC2 instances as your needs change without disrupting the overall flow of information. If one EC2 instance fails, Elastic Load Balancing automatically reroutes the traffic to the remaining running EC2 instances. If the failed EC2 instance is restored, Elastic Load Balancing restores the traffic to that instance. Elastic Load Balancing offers clients a single point of contact, and it can also serve as the first line of defense against attacks on your network. You can offload the work of encryption and decryption to Elastic Load Balancing, so your servers can focus on their main task.

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.

Fly

Fly

Deploy apps through our global load balancer with minimal shenanigans. All Fly-enabled applications get free SSL certificates, accept traffic through our global network of datacenters, and encrypt all traffic from visitors through to application servers.

DigitalOcean Load Balancer

DigitalOcean Load Balancer

Load Balancers are a highly available, fully-managed service that work right out of the box and can be deployed as fast as a Droplet. Load Balancers distribute incoming traffic across your infrastructure to increase your application's availability.

Google Cloud Load Balancing

Google Cloud Load Balancing

You can scale your applications on Google Compute Engine from zero to full-throttle with it, with no pre-warming needed. You can distribute your load-balanced compute resources in single or multiple regions, close to your users and to meet your high availability requirements.

HAProxy Integrations

Boundary, Tutum, Patroni, Honeycomb, Keepalived and 7 more are some of the popular tools that integrate with HAProxy. Here's a list of all 12 tools that integrate with HAProxy.

Boundary
Boundary
Tutum
Tutum
Patroni
Patroni
Honeycomb
Honeycomb
Keepalived
Keepalived
Server Density
Server Density
Datadog
Datadog
Sematext
Sematext
Logit.io
Logit.io
Authelia
Authelia
Opserver
Opserver
Bleemeo
Bleemeo

HAProxy Discussions

Discover why developers choose HAProxy. Read real-world technical decisions and stack choices from the StackShare community.

John Kodumal
John Kodumal

CTO at LaunchDarkly

Mar 12, 2019

Needs adviceonHAProxyHAProxyAmazon EC2Amazon EC2

Over the past year, we've shifted our philosophy on managed services and have moved several critical parts of our infrastructure away from self-managed options. The most prominent was our shift away from HAProxy to AWS's managed application load balancers (ALBs).

As we scaled, managing our HAProxy fleet became a larger and larger burden. We spent a significant amount of time tuning our configuration files and benchmarking different Amazon EC2 instance types to maximize throughput.

Emerging needs like #DDoS protection and auto scaling turned into large projects that we needed to schedule urgently. Instead of continuing this investment, we chose to shift to managed ALB instances. This was a large project, but it quickly paid for itself as we've nearly eliminated the time spent managing load balancers. We also gained DDoS protection and auto scaling "for free".

0 views0
Comments
Abdullah Diaa
Abdullah Diaa

CTO at PushBots

Nov 28, 2018

Needs adviceonNGINXNGINXHAProxyHAProxy

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.

0 views0
Comments
James Cunningham
James Cunningham

Operations Engineer at Sentry

Sep 13, 2018

Needs adviceonHAProxyHAProxy

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

0 views0
Comments
ssshake
ssshake

Nov 13, 2014

Needs adviceonHAProxyHAProxy

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

0 views0
Comments
benroeder
benroeder

Oct 1, 2014

Needs adviceonHAProxyHAProxy

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

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
745
9AABBC+739
Developers
1.66k
BBTMTW+1649