What are the principles or steps of a chaos experiment?
IntermediateConceptCapacity, Load Testing & Chaos Engineering
Answer
- Define steady state with measurable outputs, ideally SLIs (error ratio, p99 latency, orders per minute).
- Hypothesize that steady state continues in both control and experiment groups.
- Introduce real-world faults: instance or pod loss, latency, packet loss, dependency errors, AZ failure, CPU or memory stress.
- Minimize blast radius: start small (one pod, a canary, 1% of traffic) and in non-production first.
- Define abort conditions and automate them.
- Run, observe, compare with the hypothesis.
- Fix weaknesses and repeat, eventually automating the experiment continuously.
More on Capacity, Load Testing & Chaos Engineering
What is capacity planning in SRE?BeginnerWhat 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.Intermediate