Jitter
Jitter adds randomness to retry delays so clients do not all retry at the same time after a shared failure. Full jitter calculates the delay as random() multiplied by the capped exponential backoff limit.
Minimal example
const delay = random() * Math.min(
maxMs,
baseMs * 2 ** (attempt - 1)
);Learn this concept
Lesson 4.19 · Resilient client patternsUsed in exercises
Exercise 4.20 · API request retry utility Exercise 5.12 · Rider mode and customer tracking screensPrerequisite conceptsExponential backoff