Design Order Dispatch for Home Drone Delivery Across Metros

Last updated: November 29, 2026

Quick Overview

Design the backend that takes retail and restaurant orders for hovering home delivery drones, promises a delivery time, assigns each order to a dock and aircraft, and tracks it through launch, tethered drop and return, scaling to tens of thousands of deliveries per day across many metros.

Zipline
System Design
Software Engineer
Zipline
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the backend that takes retail and restaurant orders for hovering home delivery drones, promises a delivery time, assigns each order to a dock and aircraft, and tracks it through launch, tethered drop and return, scaling to tens of thousands of deliveries per day across many metros.

Zipline is scaling Platform 2 home delivery with partners like Walmart, so dispatch must be reliable, fast and safe. The interviewer is checking how you split a regional real-time scheduler from global services, keep a single source of truth for aircraft state, and fail safe when components go down.

What the Interviewer Expects
  • Clarify order sources, delivery promise SLAs and per-metro scale
  • Separate global order intake from per-metro dispatch and scheduling
  • Model aircraft and order lifecycles as explicit state machines
  • Explain how ETAs are quoted before acceptance
  • Make flight commands idempotent and the aircraft the authority on its own state
  • Cover degraded modes: weather holds, partner outages, network loss
Key Topics to Cover
Dispatch scheduling
State machines
Regional sharding
Idempotency
ETA quoting
Fail-safe design
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 avoid promising a slot that a concurrent order also takes?
  • A metro's dispatch service crashes mid-flight; what happens to aircraft in the air?
  • How would you add batching of two orders in one flight?
  • How would you test a new scheduling policy safely before rollout?
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

Functional: accept orders via partner APIs and the consumer app; quote an ETA or reject (out of range, weather); assign to a hub/dock, a packer task and an aircraft; drive launch, cruise, tethered del...

High-Level Design
  • Order API (global): auth, partner integration, writes orders to a durable store (Postgres) and an event log (Kafka).
  • Quote service (per metro): reads live capacity and weather, simulates t...

Submit Your Answer
Markdown supported

Related Questions