← Concepts

阅读中文版本

Capacity Planning Model

A capacity planning model projects the workload against the resource ceiling with margin for growth and burst, so a capacity decision is a forecast, not a guess made when the system is already slow.

operations

Definition

A capacity planning model is the quantitative projection of the expected workload — request rate, data volume, concurrency — against the measured resource ceiling of the system, with margin for growth and burst, so that capacity is provisioned ahead of demand rather than in response to a performance incident.

Context and scope

Applied in infrastructure provisioning, SLO planning, and any system whose capacity must lead demand rather than lag it.

Common misconceptions

  • Capacity planning is just autoscaling — autoscaling reacts to demand; capacity planning forecasts it, so the autoscale has headroom and the reactive scaling is not the only plan
  • The model needs perfect forecasts — it needs a forecast with a confidence interval; the margin covers the forecast error, so the model can be approximate

Anti-patterns

  • Provisioning to the current peak with no margin, so any growth or burst triggers a capacity incident
  • Modeling the average load and ignoring the peak, so the system is provisioned for the average and fails on every peak

Related concepts

Authoritative source

https://sre.google/workbook/capacity-planning/

What it is

A capacity planning model is the quantitative projection of the expected workload — request rate, data volume, concurrency — against the measured resource ceiling of the system, with margin for growth and burst, so that capacity is provisioned ahead of demand rather than in response to a performance incident. Applied in infrastructure provisioning, SLO planning, and any system whose capacity must lead demand rather than lag it. Operations is the discipline of running a system in production — where the workload, the failures, and the users are real, and the cost of error is not a test failure but an incident.

How it works

Runbooks encode the response to known failures so the on-call does not reinvent the diagnosis at 3 a.m. Capacity planning models the workload against the resource ceiling with margin for growth and burst. Changes are small, logged, and reversible; the blast radius of any operator action is bounded by the system’s design. Automation removes the toil that is both boring and error-prone.

When to invest and pitfalls

Invest when the system is in production and its availability matters. The pitfall is operating a system without understanding its failure modes — the first incident becomes a research project instead of a runbook execution. Another is alerting on every anomaly, producing alert fatigue that ensures the critical signal is ignored among the noise.