HAProxy
medium 28 minHAProxy is a load balancer and reverse proxy for TCP and HTTP.
Where it shows up
The same pattern appears across everyday software.
Stack Overflow
The published 2016 description of its architecture lists four HAProxy machines that end TLS, route by host name, limit rates and log timings captured from the web tier.
GitHub
GitHub wrote in 2016 that it had run a few very large HAProxy machines, and then built a layer in front that spreads connections over many, so that the HAProxy tier could grow sideways.
Airbnb SmartStack
Airbnb put a local HAProxy next to each service instance and rewrote its file when services moved. It is an early form of what meshes do now; the HAProxy site lists it.
Wikimedia
Wikimedia's operations notes mention HAProxy together with the Varnish front caches on its CDN hosts, with connections spread over the machines by a layer 4 balancer.
Database address
HAProxy in TCP mode gives the application one address for the primary. A check asks each node whether it is the primary, and connections follow the answer.
Ticket sale
The web tier has maxconn 80 per server and a queue of five seconds. On sale day the queue is full, checkout has priority, and the servers still answer in 60 ms.