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 mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Pipeline Design
- Difficulty
- medium
Interview Prompt
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.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your pipeline design solution with real code execution
- Get instant feedback and a hire/no-hire decision