|
|
|
|
|
by jonhohle
5005 days ago
|
|
The method he's describing requires no downtime or stalled requests. Connections are drained from some pool in a load balance set if servers. The services is restarted with the new code. The hosts are given traffic again once the are initialized and healthy. The advantages to this method include being completely platform agnostic, as well as giving you a window to verify successful update without worrying about production traffic. |
|
Personally I've found the "put new instances into a load balancer" method to make more sense for system changes (packages, kernels, OS versions) where deploying the change is inherently slow or expensive, but the method doesn't make sense for code deploys where deploy time is important.