Interview Prep/Networking/Load Balancing, Proxies & nginx in Production

How do you achieve zero-downtime configuration reloads in nginx and HAProxy?

IntermediateProductionLoad Balancing, Proxies & nginx in Production
Answer

nginx -t && nginx -s reload starts new workers with the new config while old workers finish active requests. HAProxy uses systemctl reload haproxy (seamless reload with master-worker mode and socket passing). Envoy hot restarts or, better, dynamic xDS updates.

Always validate first, and keep configs in Git. Long-lived WebSockets keep old workers alive; set worker_shutdown_timeout.

All Networking questions Roadmap: Networking for DevOps

More on Load Balancing, Proxies & nginx in Production