HLDArena
HLD-321·Coordination & IDs
Hard · 1,500 pts

Global Video Conferencing Room Signaling & SFU Topology

Design Zoom / Google Meet’s room signaling, participant roster state, and regional Selective Forwarding Unit (SFU) relay allocation at 9:00 AM join storms.

Max p99
≤ 50 ms
Availability
≥ 99.5%
Budget
≤ $8,300

Functional Requirements

  • FR-1POST /meetings/{meeting_id}/join — Allocates optimal regional SFU node and updates participant roster.
  • FR-2GET /meetings/{meeting_id}/roster — Serves active speaker, mute/video flags, and cascaded SFU endpoints.
  • FR-3PATCH & DELETE /meetings/{meeting_id}/join — Updates, cancels, or deletes meeting_id records and immediately invalidates or updates cached state (read-after-write).
  • FR-4Must guarantee read-after-write participant state and survive signaling shard failover.

Workload Profile

Mid-Hour Calls42,000 Roster Read RPS / 8,500 Join/Mute Write RPS
9:00 AM Global Join Storm120,000 Read RPS / 26,000 Join Write RPS
Active Working Set24 GB live meeting room rosters & SFU capacity maps
Traffic DistributionSynchronized top-of-hour burst + 10k-attendee townhall meeting_id skew

Consistency Model

Read-after-write on room admission, host mute-all controls, and SFU cascade assignments.

Design Write-up
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 ≤ 100 ms
• Availability: ≥ 99.5%
Valid end-to-end Client → Compute → Storage topology