Design a Fleet Readiness Service for Aircraft, Docks and Batteries
Last updated: November 29, 2026
Quick Overview
Design a service that answers, in real time, which aircraft at each hub are ready to fly a delivery, combining battery state, maintenance status, preflight check results and dock or charger health, and that alerts operators when a hub's ready capacity drops.
Zipline
November 29, 20260
0
0 solved
Design a service that answers, in real time, which aircraft at each hub are ready to fly a delivery, combining battery state, maintenance status, preflight check results and dock or charger health, and that alerts operators when a hub's ready capacity drops.
Zipline's delivery network platform keeps aircraft, sites and infrastructure ready for live operations. This question checks whether you can aggregate many noisy signals into one trustworthy readiness verdict with clear reasons, and design for safety: unknown must never read as ready.
What the Interviewer Expects
- List readiness inputs and who owns each one
- Define readiness as a rule set with explainable reasons
- Fail closed on stale or missing data
- Serve fast reads for dispatch and the ops console
- Alert on capacity drops with sensible thresholds
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you prevent a stale battery reading from clearing an aircraft to fly?
- How would you version and roll out a new readiness rule?
- How would you forecast ready capacity an hour ahead?
- What audit trail do regulators or maintenance leads need?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Inputs: battery telemetry (state of charge, health, temperature), maintenance system (open work orders, inspection due by cycles or hours), preflight check results, dock and charger telemetry, and man...
High-Level Design
Each source publishes events to a log. A readiness evaluator consumes them, keeps the latest fact per (aircraft, signal) with a timestamp, and re-evaluates that aircraft's rules on every change. R...