3 ms·
One note of caution: One way to handle this is by having your application stop responding to health checks from the load-balancer. The LB marks the host as de
by Twirrim 8y ago
One note of caution: One way to handle this is by having your application stop responding to health checks from the load-balancer. The LB marks the host as dead and stops sending new connections to it. However there are some load-balancers that see a failed health-check and immediately flush all connections to a "failed" host. Be sure you know what your LB's behaviour is, and how that fits in to your graceful shutdown model.