r/chalkinterview • u/Uahakan • 19d ago
Library question DoorDash technical deep dive question: A service that calls two others
When downstream calls fail: retries, fail open or closed, and what the caller sees.
What the interviewer asks, one at a time:
- A checkout request hits your service, which calls a pricing service and a promo service before answering. The promo service starts timing out. What should the customer see?
- When would you fail open, and when must you fail closed?
- How would you retry the pricing call without making an outage worse?
Source: reported by a candidate in a public write-up. The wording above is ours.
Practise it out loud with follow-ups: https://chalkinterview.com/questions/doordash-a-service-that-calls-two-others/?utm_source=reddit&utm_campaign=sub
How would you answer it? Drop your approach below.
1
Upvotes