Quick summary · Chapter 18
Reserve Capacity
The essential ideas, decisions, and diagrams from this chapter. Follow the section links for the examples, calculations, and fuller argument.
The main idea
An idle worker looks like an easy saving on a cost chart. In a review, I’d ask the person proposing the saving to take me through what would happen if we released it this afternoon. Has a customer gone away, or does that worker have a job the next time a group fails? If the worker is there for a recovery, I want to know how soon it can take traffic. If nobody knows why we kept it, finding out is worth doing before another month’s bill arrives.
Available for what?
Return to the constructed portfolio’s web service, whose generic failure groups do not specify a provider’s regional or zonal layout. It has 64 qualified workers in four groups of sixteen, at a synthetic 250 requests per second per worker for the specified workload mix and quality. That gives us 16,000 in normal operation and 12,000 after losing one group, against a baseline peak of 10,000.
As Volume I, Chapter 2 showed, a report comparing only normal capacity with demand shows 6,000 requests per second available, but 4,000 of that room disappears with the failed group, leaving 2,000 under the condition we have promised to support. If we offer the whole 6,000 to a new customer, we have spent part of the allowance for failure without deciding to change that promise.
Borrowed capacity changes the failure calculation
| Configuration | Normal (requests/s) | After losing the largest group (requests/s) | Peak-use ceiling |
|---|---|---|---|
| 64 workers, four groups of 16 | 16,000 | 12,000 | 75% |
| 72 workers, four groups of 18 | 18,000 | 13,500 | 75% |
| 72 workers, one group of 24 and three of 16 | 18,000 | 12,000 | 66.7% |
| 80 workers, four groups of 20 | 20,000 | 15,000 | 75% |
| 80 workers, five groups of 16 | 20,000 | 16,000 | 80% |
The constructed portfolio assumes these rates were tested in each configuration and that a lost group’s traffic spreads evenly over the survivors; adding workers to a real system does not establish a proportional increase in throughput. The eighty-worker rows are future configurations that need new supply and the batch workers’ return; the last also needs a qualified fifth group.
Borrowing is an agreement with an end
In Volume I, Chapter 4, the batch team lends the web service its workers for thirty days. They join the web pool on day 2, after preparation and testing. The batch team gets them back at the start of day 32. We expect the new group to take traffic on day 42, so we have ten days to account for.
During the loan, the web service can handle 13,500 requests per second after losing a group. With the workers back on batch, that falls to 12,000, exactly what we forecast for the staged launch. At the 12,800 peak in Volume I, Chapter 4’s first constructed outcome, we would come up 800 requests per second short after a group loss. That exposure lasts ten days, or thirty-eight if supply slips to day 70. We could keep the workers longer if the batch owner agrees. Now somebody has to say how long the people waiting for batch work can wait.
By day 32 we owe the batch owner the workers back. If we want a chance to qualify another source, we have to start early enough to put it into service by then. If we’re already past that point, I’d ask the batch owner about an extension and Product about a smaller launch. Someone who can change the service promise needs to hear about any gap those conversations leave.
Decide what would permit release
A reserve can outlive its original purpose remarkably easily if nobody defined an ending. A launch finishes, a migration changes, a customer departs, or the recovery design improves, while the allocation looks exactly as it did before. When authorizing a hold, agree what evidence would permit its release so that the next review can ask a concrete question.