Quick Notes129 words
Minimising downtime — quick notes
Minimising downtime — quick notes
| Mechanism | Level |
|---|---|
| Load balancing | Network — remove from new-request rotation; drain existing requests where supported |
| Rolling deployment | Fleet — batches via maxParallel |
| Deployment slots + swap | App Service — warm then swap |
| Fact | Detail |
|---|---|
| Swap benefit | Source workers warm before routing switches; no swap downtime |
| Rollback | Swap back — reversible |
| Slot settings | Sticky to the slot; do not move during a swap |
Lower maxParallel | Less capacity lost, longer deployment |
Trap: a connection string that is not a slot setting follows the app across a swap — production ends up pointing at the staging database.