Design Dash Offer Delivery with a Timed Acceptance Window
Last updated: November 29, 2026
Quick Overview
When dispatch picks a Dasher for an order, the Dasher app shows an offer they can accept or decline within a short window. Design the system that delivers offers reliably, enforces the timer and moves to the next Dasher fast when an offer expires.
DoorDash
November 29, 20260
0
0 solved
When dispatch picks a Dasher for an order, the Dasher app shows an offer they can accept or decline within a short window. Design the system that delivers offers reliably, enforces the timer and moves to the next Dasher fast when an offer expires.
Offer latency directly affects delivery time, because every second spent waiting on a Dasher who will not respond is a second the food sits. Senior candidates are expected to discuss reliable push to mobile, server-authoritative timers, race conditions between accept and expiry, and the interplay with the dispatch optimizer.
What the Interviewer Expects
- Use a persistent connection with push notification fallback
- Make the server the authority for offer state and expiry
- Resolve accept versus expire races atomically
- Ensure an order is never assigned to two Dashers
- Re-dispatch quickly on decline or timeout
- Measure offer delivery latency and acceptance funnel
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you handle a Dasher who accepts at 0.5 seconds left on a slow network?
- Should you offer to several Dashers at once, and what breaks if you do?
- How do you detect that an offer was never displayed on the phone?
- How would you change the window length per market?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- Dispatch produces an assignment (order or batch of orders, Dasher ID). The Dasher sees an offer with pay, distance and a countdown (say 40 seconds).
- Dasher accepts or declines; no answer means exp...
High-Level Design
- Offer service creates an offer record
{offer_id, delivery_ids, dasher_id, expires_at, state=PENDING}in a strongly consistent store, keyed by offer. - Delivery channel: Dasher apps hold ...