Backoff and Jitter for Retried Work
Backoff can space out attempts after failures. Jitter can distribute those attempts so clients do not all resume at the same instant.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace an example schedule
Base waits of one, two, and four seconds provide a simple growing delay. A chosen random variation changes those waits under a documented range, bounded by the remaining total time. See retry deadlines.
Record test inputs
A test can supply a predictable generator and clock to verify scheduling decisions. Retain exact failing inputs when timing differs. Random test replay explains why a seed alone may be insufficient after code changes.[1]