Pick the fix
After an outage, every client retries at exactly 1, 2 and 4 seconds, and the server falls over again. Fix?
Hint 1 of 1
Why do all clients arrive at the same moment?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Add random jitter to each backoff delay
Correct. Spreading retries prevents synchronised spikes.
Why not the others?
- B Retry immediately so requests finish sooner. Makes the spike worse.
- C Retry 10 times instead of 3. More load during the outage.
- D Remove backoff and use a fixed 1 s delay. Still synchronised.