Live order tracking and ETA

DesignMedium40 minDoorDash and Uber style

Your task

Design the live order-tracking and arrival-prediction service shown to a customer after they place a delivery order: a moving courier marker, a continuously-updated 'arriving in N min' estimate, and a notification when the courier is ~2 minutes away. 2M active tracked orders at peak. Cover how the estimate is computed and refreshed, and how the 'almost there' trigger works without false alarms.

It covers

  • Arrival time
  • Tracking
  • Notifications