Taking Zero-Downtime Load Balancing even Further
Created on 2023-02-05T17:35:38-06:00
Uses nginx as an SSL terminal and proxies incoming requests to a unix domain socket. The domain sockets are bound by haproxy, which in turn proxies requests to their actual destinations.
A haproxy reload will move and close its domain sockets when it hands off to its new process. nginx will interpret the closure as outage and re-connect to the domain socket.