Capacity Planning

The Google SRE Book's capacity planning model: predict demand, allocate resources, validate against reality.

Overview

Enough, but not too much

Capacity planning ensures you have the right resources for current and future load: not too much, which wastes money, and not too little, which causes outages.

The SRE Book, Chapter 18, frames it as predictive, not reactive. By the time you're scaling under load, it's too late for non-trivial provisioning at rack, contract or region scale.

Key concepts

  • Forecast / provision / reconcile
  • Resource fungibility
  • Critical resource
  • Headroom / buffer
  • Failure-mode capacity

Interview questions

  • Walk me through capacity planning for a service.
  • What's the difference between average load and peak load capacity planning?
  • How do you calculate "failure-mode capacity"?

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio