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
System Design
Software Engineer
DoorDash
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

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
Realtime push
Distributed state machine
Compare-and-set
Timers
Dispatch
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. 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 Problems
Sample 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
  1. Offer service creates an offer record {offer_id, delivery_ids, dasher_id, expires_at, state=PENDING} in a strongly consistent store, keyed by offer.
  2. Delivery channel: Dasher apps hold ...

Submit Your Answer
Markdown supported