Retry Backoff & Thundering Herd Stampede Simulator
When downstream dependencies (databases, payment APIs) experience outages, unjittered exponential backoff synchronizes failing workers into crushing periodic spikes (Thundering Herds). AWS Full Jitter spreads retries uniformly, flattening peak concurrency by up to 80%.
Algorithm & Chaos Controls
Base Delay ($B$):1000 ms
Max Delay Ceiling ($M$):32000 ms
Max Retry Attempts ($a$):5
Failing Jobs ($N$):100
Downstream Recovers At:12000 ms
Peak Concurrency Spike
100simultaneous reqs
Average Concurrency
100 req/bucket
Arrival Variance (StdDev)
±0
Thundering Herd Risk
EXTREME
Live Concurrency Spike Histogram over Time
Each bar represents retry requests arriving at the downstream dependency in discrete time windows.
Thundering Herd Spike Uniform Traffic
Current Formula:
$t = \min(M, B \times 2^{attempt})$ • Synchronizes all failing workers into identical time slots!