Design Problems/Food Delivery System (like DoorDash)

Food Delivery System (like DoorDash)

Hard
GeospatialReal-timeMatching

High-Level Architecture

Rendering diagram...

Design a food delivery platform connecting customers, restaurants, and delivery drivers. The system handles order placement, restaurant management, real-time driver matching and tracking, delivery logistics, and ETA estimation.

Clarifying Questions

  • Scale? (50M users, 2M orders/day, 500K restaurants, 1M drivers)
  • Peak order rate? (5x average during meal times = 200 orders/sec peak)
  • ETA accuracy? (Within 5 minutes for 90% of orders)
  • Geographic scope? (Multi-city, single country initially)
  • Real-time tracking needed? (Yes, customer sees driver location live)