Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Drone Fleet Mission Control Platform

Design a near-real-time control plane that starts missions, sends ordered commands to online drones, and streams trustworthy mission status back to operators.

Problem statement

For this exercise, assume operators choose an online drone, begin a mission, and issue START, MOVE, ABORT, and STOP commands. A connected drone should receive an accepted command within about one second, while the operator receives near-real-time state such as motor preparation, mission progress, or errors.

Drones may disconnect, reconnect, acknowledge late, or execute a command while a response is lost. Design session ownership, command ordering and durability, mission state, telemetry delivery, APIs, security, overload behavior, and recovery. Autonomous flight planning and low-level flight control are out of scope.

What to build

  1. An authorized operator can list drones with an explicit online state, freshness, active mission, and control eligibility.
  2. An authorized operator can idempotently begin one active mission for an eligible online drone.
  3. An operator can submit START, MOVE, ABORT, or STOP and obtain one durable command identity, ordered mission position, and recoverable outcome; an emergency command creates an auditable barrier over unexecuted ordinary work.
  4. Operators receive resumable near-real-time command acknowledgements, mission progress, drone state, and errors without allowing stale telemetry to regress state.

At scale

  • For this exercise, assume 100,000 registered drones, 10,000 concurrently online drones, and peaks of 20,000 accepted commands and 200,000 telemetry events per second.
  • A healthy online drone should receive an accepted command within one second at p95, and its resulting status should reach an operator within one additional second at p95.
  • At most one active control session owns a drone. Ordinary commands execute in accepted order. An accepted ABORT creates an emergency barrier: unexecuted MOVE positions are durably canceled or tombstoned, acknowledged, executed, and unknown earlier outcomes remain recorded for reconciliation, and no later ordinary MOVE may cross the barrier.
  • Accepted commands and audit history survive a regional process failure; disconnected or outcome-ambiguous commands remain explicit rather than being guessed successful or replayed blindly.