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
  1. Stackups
  2. Stackups
  3. Envoy vs HAProxy

Envoy vs HAProxy

OverviewComparisonAlternatives

Overview

HAProxy
HAProxy
Stacks2.4K
Followers2.1K
Votes564
Envoy
Envoy
Stacks298
Followers546
Votes9
GitHub Stars27.0K
Forks5.1K

Envoy vs HAProxy: What are the differences?

Introduction

Envoy and HAProxy are popular open-source proxy servers used for load balancing and reverse proxying. While both serve the same purpose, there are several key differences between these two options.

  1. Architecture: Envoy follows a decentralized architecture, with each instance capable of full autonomy. This allows for easy scalability and fault tolerance as there is no central point of failure. In contrast, HAProxy follows a centralized architecture, where a single instance acts as the central point for managing traffic distribution.

  2. Protocol Support: Envoy supports a wide range of protocols including HTTP, gRPC, WebSocket, TCP, and more. It provides advanced features like HTTP/2 and HTTP/3 support, automatic request splitting, and retries. On the other hand, HAProxy primarily focuses on TCP and HTTP load balancing, with limited support for other protocols.

  3. Service Discovery: Envoy has built-in service discovery capabilities that enable automatic detection and load balancing of backend services. It can integrate with service registries like Consul, Kubernetes, and more. While HAProxy supports service discovery through DNS resolution, it lacks the built-in flexibility and advanced features provided by Envoy.

  4. Configuration: Envoy uses a dynamic configuration system, where changes can be made without restarting the proxy. It supports dynamic update APIs like xDS (eXtensible Data Discovery Service) for real-time configuration management. In contrast, HAProxy requires manual configuration changes and a restart for updating proxy settings.

  5. Observability: Envoy offers extensive observability via built-in metrics, logging, and tracing capabilities. It provides detailed statistics about traffic, latency, error rates, and more. HAProxy also provides basic logging and monitoring features but lacks the comprehensive observability features offered by Envoy.

  6. Community and Adoption: Envoy has gained significant traction in recent years, backed by a vibrant community and strong industry support. It is heavily used in cutting-edge environments like Istio service mesh and Kubernetes ingress. HAProxy, while also popular, has been around for a longer time and has a more established user base.

In summary, Envoy and HAProxy differ in their architecture, protocol support, service discovery capabilities, configuration management, observability features, and community adoption. Envoy offers a more decentralized and feature-rich solution, while HAProxy is a more traditional load balancing option with a longer history.

Detailed Comparison

HAProxy
HAProxy
Envoy
Envoy

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.

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.

Statistics
GitHub Stars
-
GitHub Stars
27.0K
GitHub Forks
-
GitHub Forks
5.1K
Stacks
2.4K
Stacks
298
Followers
2.1K
Followers
546
Votes
564
Votes
9
Pros & Cons
Pros
  • 134
    Load balancer
  • 102
    High performance
  • 69
    Very fast
  • 58
    Proxying for tcp and http
  • 55
    SSL termination
Cons
  • 6
    Becomes your single point of failure
Pros
  • 9
    GRPC-Web

What are some alternatives to HAProxy, Envoy?

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.

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.

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.

Hipache

Hipache

Hipache is a distributed proxy designed to route high volumes of http and websocket traffic to unusually large numbers of virtual hosts, in a highly dynamic topology where backends are added and removed several times per second. It is particularly well-suited for PaaS (platform-as-a-service) and other environments that are both business-critical and multi-tenant.

node-http-proxy

node-http-proxy

node-http-proxy is an HTTP programmable proxying library that supports websockets. It is suitable for implementing components such as proxies and load balancers.

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.

F5 BIG-IP

F5 BIG-IP

It ensures that applications are always secure and perform the way they should. You get built-in security, traffic management, and performance application services, whether your applications live in a private data center or in the cloud.

GLBC

GLBC

It is a GCE L7 load balancer controller that manages external loadbalancers configured through the Kubernetes Ingress API.

Nginx Proxy Manager

Nginx Proxy Manager

It comes as a pre-built docker image that enables you to easily forward to your websites running at home or otherwise, including free SSL, without having to know too much about Nginx or Letsencrypt.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

GitHub
Bitbucket

AWS CodeCommit vs Bitbucket vs GitHub

Kubernetes
Rancher

Docker Swarm vs Kubernetes vs Rancher

gulp
Grunt

Grunt vs Webpack vs gulp

Graphite
Kibana

Grafana vs Graphite vs Kibana