3 ms·
> But how do you manage deployments of new versions without downtime? I don't try to have 100% uptime. For most projects I will usually have a few seconds to a
by hobofan 8y ago
> But how do you manage deployments of new versions without downtime?
I don't try to have 100% uptime. For most projects I will usually have a few seconds to a minute of downtime when deploying (as long as it takes the docker container to start). When I try to minimize the downtime below that, I spin up a second container in parallel, change the HAProxy address to that and reload HAProxy, which gives zero-downtime (with small caveats).
For most scenarios (including business) I've found that to be a reasonable approach. Most businesses can live with that kind of downtime, and trying to achieve less downtime becomes unproportionally more expensive.