Case File: Try Again, But Not Too Fast
Background jobs call a partner service that is sometimes down, and when it recovered, a thousand jobs retried at the same second and knocked it over again. Write exponential backoff: wait base, then twice as long, up to a cap, stop at the first success, give up after a fixed number of attempts, and total the waiting. Run the scheduler on job lists you cannot see. The jobs are generated for you alone.
Case File: Try Again, But Not Too Fast
Background jobs call a partner service that is sometimes down, and when it recovered, a thousand jobs retried at the same second and knocked it over again. Write exponential backoff: wait base, then twice as long, up to a cap, stop at the first success, give up after a fixed number of attempts, and total the waiting. Run the scheduler on job lists you cannot see. The jobs are generated for you alone.
In this lesson:
- retries
- backoff
- jobs
- reliability
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans