Reliabilityrandomized delayfull jitter

Jitter

Definition

Jitter is a random component added to a delay or interval, for example choosing a retry delay uniformly between 0 and the exponential backoff value.

In practice

Synchronised clients create load spikes: retries that line up, caches that expire together, cron jobs that all start at midnight. Randomising the timing spreads the same work over a window and flattens the spike.

Full jitter, a random delay between zero and the backoff value, spreads load best. Equal jitter keeps a minimum wait. The same idea applies to TTLs (add a few percent of randomness) and to periodic jobs.

Example

Instead of every client retrying exactly 800 ms after a failure, each waits a random time between 0 and 800 ms, so the retries arrive spread out rather than as one burst.