Design Staged OTA Firmware Rollout for Hundreds of Millions of Galaxy Devices
Last updated: November 29, 2026
Quick Overview
Design the system that delivers over-the-air firmware and security patches to Galaxy phones worldwide, with staged rollout by model, region and carrier, automatic halting on bad health signals, and resumable delta downloads.
Samsung
November 29, 20260
0
0 solved
Design the system that delivers over-the-air firmware and security patches to Galaxy phones worldwide, with staged rollout by model, region and carrier, automatic halting on bad health signals, and resumable delta downloads.
Samsung ships monthly security updates and major One UI releases across hundreds of device models and many carriers, so a bad build can brick devices at scale. The interviewer is looking for targeting, staged exposure with automated guardrails, CDN economics and device-side safety such as A/B partitions.
What the Interviewer Expects
- Separates control plane (release targeting, rollout policy) from data plane (CDN delivery)
- Uses staged percentage rollout per cohort with health-based automatic pause
- Uses delta packages and resumable chunked downloads with signature verification
- Covers device-side safety: A/B slots, rollback on boot failure, battery and network checks
- Handles carrier approval gates and regional regulations
- Estimates bandwidth and spreads load with jittered check-ins
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 decide automatically that a rollout is unhealthy when crash rates are noisy?
- A carrier requires a certification hold. How does that fit the targeting model?
- How would you push an emergency security fix to everyone within 24 hours without melting the CDN?
- How do you prevent a downgrade attack?
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
Functional: register builds, target by (model, region, carrier, current version), stage exposure (1%, 5%, 25%, 100%), devices check for updates, download, verify, install, report results. Non-function...
High-Level Design
- Release service: build metadata, signed manifests, delta packages per (from, to) version pair.
- Targeting and rollout service: rules plus a deterministic bucket `hash(device_id, release_id) % 10000...