Interview Prep/SRE & Reliability/Capacity, Load Testing & Chaos Engineering

What are the principles or steps of a chaos experiment?

IntermediateConceptCapacity, Load Testing & Chaos Engineering
Answer
  1. Define steady state with measurable outputs, ideally SLIs (error ratio, p99 latency, orders per minute).
  2. Hypothesize that steady state continues in both control and experiment groups.
  3. Introduce real-world faults: instance or pod loss, latency, packet loss, dependency errors, AZ failure, CPU or memory stress.
  4. Minimize blast radius: start small (one pod, a canary, 1% of traffic) and in non-production first.
  5. Define abort conditions and automate them.
  6. Run, observe, compare with the hypothesis.
  7. Fix weaknesses and repeat, eventually automating the experiment continuously.
All SRE & Reliability questions Roadmap: SRE & incident response

More on Capacity, Load Testing & Chaos Engineering