Published: 2026-11-21 · Java & Web Architecture Archive

Zero-Downtime Deploys: Handling SIGTERM & In-Flight Requests

Always stop accepting new connections before closing database pools on SIGTERM so rolling restarts produce zero 502 errors.