How do you run chaos experiments on stateful workloads safely?
AdvancedScenarioChaos Engineering & Game Days
Answer
Situation read → Stateful systems risk data loss; experiments need extra protection.
What I'd do →
- Take fresh backups and verify restore before the experiment.
- Start in staging with production-like data volume.
- Start with replica failures, then primary failover; avoid disk corruption experiments in production.
- Monitor replication lag, data consistency checks, client errors.
- Have a tested rollback and restore plan.
Why → Data loss is often irreversible, so preparation matters more than for stateless services.
Interview tip → "Backup and restore test before any stateful chaos."
More on Chaos Engineering & Game Days
Your company has never done chaos engineering. How do you start safely?BeginnerA pod-kill experiment caused a 30-second spike of 502s, even though there are 3 replicas.IntermediateYour team wants to run chaos experiments in production. Leadership is nervous.IntermediateDesign a game day for an AZ failure on EKS.AdvancedA NetworkChaos delay experiment on a dependency caused the caller to fall over completely.AdvancedHow do you decide which chaos experiments to run first?Intermediate