Node.js · Senior · Question 35 of 75

Why add random jitter to exponential backoff when retrying failed calls?

Explanation

Without jitter, retries come in synchronized waves (thundering herd). Also cap the number of retries and retry only safe or idempotent operations.

Further reading

Problem with a question

Node.js · Senior · question 35

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz