Taking Zero-Downtime Load Balancing even Further

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

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

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.