JavaScript · Senior · Question 24 of 75
What is exponential backoff when retrying requests?
- ✓Correct answer: Increasing the pause between attempts (1s, 2s, 4s…), often with random jitter
- 2Retrying the request at a fixed interval until the first success
- 3Sending several copies of the request to different servers at once
Explanation
A growing delay reduces load on an overloaded server, and jitter (a random addition) keeps all clients from retrying in sync. Only retry idempotent operations and transient errors (5xx, network), not 4xx.