Taking Zero-Downtime Load Balancing even Further

Created: 2023-02-05T17:35:38-06:00

Return to the Index

This card pertains to a resource available on the internet.

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.