All Questions
Managing Long Running Tasks hard

When implementing retries for failed tasks, why use 'Exponential Backoff' with 'Jitter'?

  1. A To look cool.
  2. B To prevent 'Thundering Herd'. Increasing the delay (1s, 2s, 4s) reduces pressure on the failing service. Jitter (randomness) prevents all workers from retrying at the exact same millisecond.
  3. C To save CPU.
  4. D To encrypt data.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions