HLDArena
HLD-135·Caching & Edge
Easy · 500 pts

Mobile 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

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
Hidden Cases #4–#7 run automatically on Submit
Case 1: Smoke & API ContractInput Workload
Read RPS
2,000 rps
Write RPS
100 rps
Key Distribution
Uniform (Low Skew)
Chaos Fault
None (Healthy Cluster)
Expected Pass CriteriaASSERTIONS
• Tail Latency: p99 ≤ 52 ms
• Availability: ≥ 99.5%
Valid end-to-end Client → Compute → Storage topology