All faults / Data & state
Read replica lag: chaos experiment
A read replica falls behind. A share of reads return old data, which users experience as lost changes.
What it tests
read-your-writes routing, staleness tolerance
read-your-writes routing, staleness tolerance
The hypothesis holds when
Reads that must be fresh go to the primary, and the rest tolerate staleness.
Reads that must be fresh go to the primary, and the rest tolerate staleness.
It breaks when
Stale reads are served as if they were current.
Stale reads are served as if they were current.
Reference
The same fault in other tools
- Chaos Mesh: no equivalent
- LitmusChaos: no equivalent
- ChaosBlade: no equivalent
- Chaos Monkey: no equivalent
Generated manifests and commands are on the Export tab. Confirm flags for your version before running them.
Run this experiment in your browser
Simulator only today. Export it as a manifest from the Export tab.