A pipeline call to a tax API has max_attempts=5 and a 60-second cap; the naive worst case is 1+2+4+8
A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.
- Domain
- Pipeline Design
- Difficulty
- medium
Problem
A pipeline call to a tax API has max_attempts=5 and a 60-second cap; the naive worst case is 1+2+4+8+60=75 seconds. In production the calls themselves time out at 30 seconds each, the cap fires on the 60-second waits, and actual elapsed retry time runs to several minutes. The section names five numbers a complete retry budget defines: max_attempts, base_delay, max_delay, max_total_elapsed, and jitter. Set the budget by replacing the retry transform with one whose name states all five.
Practice This Problem
Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it automatically.