← Questions

Design a real-time air traffic control system

0
AmazonSystem design

A system design interview question asked at Amazon. It tests real-time, reliability and geospatial.

Design a system that tracks every aircraft in a region from radar and transponder feeds, predicts conflicts between aircraft, and alerts controllers within a second. The system must have no single point of failure.

Requirements

  • Functional: ingest position reports from several radars and transponders; fuse them into one track per aircraft; show live tracks on controllers' displays; predict losses of separation minutes ahead; alert the responsible controllers; hand aircraft over between sectors; record everything for later review.
  • Non-functional: end-to-end latency under one second from sensor to alert; extremely high availability with no single point of failure; deterministic, tested behavior; a safe degraded mode when parts fail.

Clarifying questions

  • How many aircraft in the region at peak, and how often does each sensor report?
  • How far ahead must conflicts be predicted, and what separation rules apply?
  • How are sectors and controllers organized, and who gets which alert?
  • What must keep working if the network between sites fails?
  • What are the certification and recording requirements?

What a strong answer covers

  • Ingestion from redundant sensors over redundant networks, with timestamps and sensor identity.
  • Track fusion: matching reports to tracks, filtering noise (for example a Kalman filter), and resolving disagreement between sensors.
  • Conflict detection: projecting trajectories over a time horizon, a spatial grid so only nearby pairs are compared, and tuning to avoid false alarms.
  • Alert delivery to the right sector display with acknowledgement, and escalation if not acknowledged.
  • Availability: active-active or hot standby replicas per function, fast failover, and independent backup systems; why general cloud patterns may not fit.
  • Recording of all inputs and outputs for replay and investigation; testing with recorded and simulated traffic.

Follow-ups

  • One radar starts reporting positions shifted by a few hundred meters.
  • The primary data center loses power. What do controllers see?
  • Add drones, which are many more and fly lower.
  • How do you test a change to the conflict prediction before it goes live?

Where it's asked

What it tests

real-time · reliability · geospatial

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing