Design DoorDash

Hard45 min
1 / 30
understanding8 min read

Problem Statement: On-Demand Food Delivery Marketplace

How Problem Statement: On-Demand Food Delivery Marketplace (understanding) informs DoorDash architecture and interviewer depth.

Problem Statement: On-Demand Food Delivery Marketplace

DoorDash connects consumers, merchants, and Dashers in a three-sided marketplace where food quality decays every minute. Unlike ride-hailing, you must coordinate restaurant prep time, bag handoff, and last-mile driving under hard deadlines.

Interviewers expect you to name the order command path as the single writer and treat dispatch/ETA as derived, eventually consistent projections.

Mechanism (1)

Order Command Service owns lifecycle; dispatch, ETA, and tracking are Kafka projections keyed by order_id.

Operational signals

Watch assign_latency_p95, food_wait_minutes, dispatch_queue_depth, payment_capture_fail_rate, and geo_index_lag_seconds. Page when assign_latency_p95 > 180s for 5 minutes in any metro.

Why interviewers care

DoorDash interviews reward crisp scope, explicit trade-offs, and failure stories—not generic microservice diagrams.

Interview checkpoint

Name one failure story for Problem Statement: On-Demand Food Delivery Marketplace that proves you understand real outages, not happy-path diagrams.

Key Highlights

  • Anchor 1-A: order command owns truth
  • Anchor 1-B: metro-sharded dispatch
  • Anchor 1-C: idempotent payments
  • Anchor 1-D: geo supply index
Signal
For Problem Statement: On-Demand Food Delivery Marketplace, cite food-wait minutes and assign latency P95.
Tip
Quote 10M orders/day and 1.2k/s peak checkout when naming components in Problem Statement: On-Demand Food Delivery Marketplace.

Section Rescue Kit

Buzzwords to use:

Transactional outbox 1H3 supply cell 1

Safe statements:

  • "I'll anchor Problem Statement: On-Demand Food Delivery Marketplace on order-command invariants before ETA freshness debates."
  • "If time is short, I defer grocery aisles until dispatch and payments are credible."
Design DoorDash - System Design | WinJob | WinJob