All faults / Data & state

Cache loss and stampede: chaos experiment

The cache cluster restarts empty. Every request falls through to the database at once, which slows down and rejects some of them.

What it tests
stale-while-error, request coalescing, timeouts
The hypothesis holds when
Stale entries, request coalescing and a short timeout keep the database from being overrun.
It breaks when
The stampede is the outage.

Reference

The same fault in other tools

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.