What is capacity planning in SRE?
BeginnerConceptCapacity, Load Testing & Chaos Engineering
Answer
Making sure there is enough capacity, at acceptable cost, to serve forecast demand within SLO, including during failures. It combines:
- Demand forecast: organic growth trend plus inorganic events (launches, marketing campaigns, seasonal peaks).
- Capacity per unit: how much load one instance handles within SLO, measured with load tests.
- Headroom: spare capacity for failure domains (lose one AZ), deploys (surge pods), and spikes.
- Lead time: how long it takes to get more (minutes for autoscaling, weeks for reserved capacity or quota increases).
More on Capacity, Load Testing & Chaos Engineering
What is N+1 and N+2 redundancy for capacity?BeginnerHow do you calculate how many instances you need?IntermediateWhat is the difference between load, stress, spike, soak and breakpoint testing?BeginnerWhat is k6 and why do SRE teams use it?BeginnerWrite a minimal k6 test with SLO thresholds.IntermediateWhat is the difference between open and closed workload models in load testing?Advanced