Interview Prep/Networking/Load Balancers, Proxies & CDNs

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.

All Networking questions Roadmap: Networking for DevOps

More on Load Balancers, Proxies & CDNs