HLD-135·Caching & Edge
Easy · 500 ptsMobile App Store Update & Staged Rollout Manifest API
Design a mobile client update-check and signed binary manifest service supporting 1% -> 10% -> 100% staged percentage rollouts and instant emergency kill-switch minimum-version bumps.
Max p99
≤ 26 ms
Availability
≥ 99.5%
Budget
≤ $3,300
Functional Requirements
- FR-1GET /v1/apps/{app_id}/check-update — Evaluates client build + device bucket and returns signed delta/full download manifest URL.
- FR-2PUT /v1/apps/{app_id}/releases/{version_id} — Publishes release metadata, rollout percentage, and minimum forced-upgrade version.
- FR-3PATCH /v1/apps/{app_id}/releases/{version_id}/halt — Freezes a buggy staged rollout and reverts manifest pointers within seconds.
- FR-4Must absorb massive background wake-up storms via edge/in-memory caching while surviving origin database crashes.
Workload Profile
Background Wake-Up Checks34,000 Manifest Read RPS / 150 Release Admin Write RPS
OS Push Release Surge88,000 Manifest Read RPS / 500 Write RPS
Active Working Set6 GB active app release manifests & rollout ring rules
Traffic DistributionExtreme read skew on top flagship app_id manifests
Consistency Model
Bounded eventual rollout/kill-switch propagation (< 10s edge & cache TTL) with deterministic client hash bucketing.
Relevant practice for
Solutions Locked
Sign in and either achieve AC or complete 3 official submissions on this question to inspect community diagrams and writeups.
Loading solutions...
Submission History (0)Select to replay
No submissions yet
Click Submit in the top bar to evaluate against all 7 judge cases and save each run here.
Click an item in Inventory above, or press B to add a component, double-click to name, C to connect.
Design Write-up
Write under ### Architecture for Diagram to take that up directly
Compulsory section · if not written yet, Diagram reads from the start of your write-up.
Architecture: required·FRs mentioned: 0/4·0 boxes · 0 edges
0 words