Design Over-the-Air Firmware Rollout for Millions of Starlink Terminals
Last updated: November 29, 2026
Quick Overview
Design the system that ships new firmware to millions of Starlink user terminals worldwide, with staged rollout, health monitoring, automatic halt, and rollback, without bricking dishes or saturating satellite capacity.
Spacex
November 29, 20260
0
0 solved
Design the system that ships new firmware to millions of Starlink user terminals worldwide, with staged rollout, health monitoring, automatic halt, and rollback, without bricking dishes or saturating satellite capacity.
Starlink terminals run Linux-based firmware that SpaceX updates frequently, over the same satellite links customers pay for. A system design round in this style checks safe deployment mechanics on embedded devices, bandwidth awareness on a constrained network, and how telemetry closes the loop.
What the Interviewer Expects
- Define requirements including scale, update size, and an acceptable failure rate
- Use A/B partitions with a boot health check and automatic fallback on the device
- Stage rollouts by cohort (internal, small percent, region, hardware revision) with gates
- Use telemetry-based health metrics to halt rollouts automatically
- Account for satellite and gateway bandwidth: deltas, scheduling at low-usage hours, caching
- Sign images and verify before install
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 would you handle terminals that are offline for months and come back several versions behind?
- What health signals would tell you a build is bad within an hour?
- How do you roll out a fix to the update agent itself?
- How would you avoid every terminal in one cell downloading at the same moment?
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
Millions of terminals across many hardware revisions, image of roughly 100 MB with deltas often a few MB. Goals: no bricked devices (any failed boot recovers on its own), at most a small fraction expo...
High-Level Design
Release service stores signed images and rollout plans. Rollout controller decides which terminal gets which version via cohort rules. Device agent polls a check-in API with its hardware r...