HLDArena
HLD-223·Storage & Media
Medium · 1,000 pts

Adaptive Bitrate Video Streaming & Edge Manifest CDN

Design a Netflix / YouTube playback session, HLS/DASH manifest, and OpenConnect-style edge chunk delivery architecture handling prime-time premieres.

Max p99
≤ 45 ms
Availability
≥ 99.5%
Budget
≤ $5,700

Functional Requirements

  • FR-1GET /playback/{title_id}/manifest — Authorizes viewer session and returns regional CDN chunk URLs.
  • FR-2POST /playback/{title_id}/qos — Records startup latency, rebuffer telemetry, and watch bookmark.
  • FR-3DELETE /playback/{title_id}/manifest — Supports tenant retention TTL expiry, rule updates, or stream cleanup while keeping recent rollup caches fresh.
  • FR-4Must absorb prime-time season-finale spikes and survive origin storage brownouts.

Workload Profile

Daytime Streaming42,000 Read RPS / 4,000 QoS Write RPS
Season Finale Premiere120,000 Read RPS / 11,000 Write RPS
Active Working Set30 GB hot HLS/DASH manifests & DRM license metadata
Traffic DistributionMassive Zipfian concentration on top-10 premiered title_id assets

Consistency Model

Immutable encoded video segments cached at edge POPs; QoS & watch progress eventually consistent (< 5s).

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
400 rps
Key Distribution
Uniform (Low Skew)
Chaos Fault
None (Healthy Cluster)
Expected Pass CriteriaASSERTIONS
• Tail Latency: p99 ≤ 90 ms
• Availability: ≥ 99.5%
Valid end-to-end Client → Compute → Storage topology