Quick reference
Read it bottom to top: demand to cost.
| Layer | What it does | Typical tech |
|---|---|---|
| Demand | Requests per second, peak shape, the growth you can defend. | RPS / PEAK |
| Forecast | A range with a date: expected, high, and when it is needed. | RANGE |
| Model | Throughput times request time gives concurrency. | LITTLE |
| Headroom | The gap between peak and the point where latency breaks. | N+1 |
| Scaling | How fast capacity arrives, and what must be pre-warmed. | AUTOSCALE |
| Cost | Unit cost per request, and who pays when the estimate is wrong. | COST / REQ |
In one line: Demand, headroom, then the bill. A capacity plan without a cost line is a wish with a graph.
Price the peak:
aws ce get-cost-and-usage --metrics UnblendedCostExplained
Demand
Start with requests per second, the shape of the peak and a growth rate you can defend. A daily average hides the ten minutes that matter.
Forecast
Give a range with a date: expected, high, and when the capacity is needed. A single number is a guess with a decimal point.
Model
Throughput times request time gives concurrency: the capacity equation. If you cannot state it for your service, you are sizing by feel.
Headroom
The gap between peak and the point where latency breaks. It is not waste; it is the space where a failover and a slow query live. N+1 is a policy, not a number you discover during an incident.
Scaling
How fast capacity arrives, and what must be pre-warmed. An autoscaler that takes eight minutes is a different design from one that takes forty seconds.
Cost
Unit cost per request, and who pays when the estimate is wrong. Every layer above has a price, and the price belongs in the same review as the target.
The honest caveat: a forecast is wrong by definition. The range and the review date are what make it useful, not the central number.
The lesson: demand, headroom, then the bill.
Your turn: Which layer of your capacity plan is a spreadsheet nobody opens?
Related on this site
More notes: Observability & SRE
- P1101Query commands for metrics, logs, traces
- P1100Five questions for your telemetry
- P1099Cardinality and the bill nobody predicted
- P1098Turning an alert into a runbook link
- P1097Four observability numbers
- P1096Dashboards for three audiences
- P1095Trace sampling: head, tail, always-on errors
- P1094Five alert anti-patterns
Open in the notes app: search, filters, copy This note on GitHub