Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
Retry Stages with Exponential Backoff
Arrange the stages of the retry pattern with exponential backoff:
Items to put in order
- Another error - waiting 4 seconds (exponential backoff)
- Receiving an error (e.g., 500 Server Error)
- Waiting 1 second and retrying
- Another error - waiting 2 seconds
- Sending an HTTP request
You can check the correct answer by solving this task in the CodeWorlds game.