What is the difference between nginx, HAProxy and Envoy?
IntermediateConceptLoad Balancers, Proxies & CDNs
Answer
nginx: web server and reverse proxy, great for static content, TLS and simple L7 routing. HAProxy: purpose-built load balancer with excellent L4/L7 performance, stick tables and detailed stats. Envoy: modern L7 proxy with dynamic configuration over xDS, rich observability and gRPC support, the data plane of Istio and many gateways.
Pick nginx for web serving plus proxy, HAProxy for pure high-throughput balancing, Envoy for service mesh and dynamic environments.
More on Load Balancers, Proxies & CDNs
What is a load balancer and why do we use one?BeginnerWhat is the difference between L4 and L7 load balancing?IntermediateCompare ALB, NLB, GWLB and Classic Load Balancer in AWS.IntermediateWhat load-balancing algorithms are common?BeginnerWhat are health checks and how should they be designed?AdvancedWhat is connection draining (deregistration delay)?Intermediate