HLDArena
HLD-416·Coordination & IDs
Expert · 2,000 pts

Disaggregated Prefill/Decode & Mixture-of-Experts (MoE) Inference Fabric

Design a DeepSeek / Frontier-Lab scale inference fabric separating compute-bound Prefill pools from memory-bandwidth-bound Decode pools, coordinating RDMA KV-cache block transfers, expert-load balancing across hot MoE experts, and zero-dropped-stream failover.

Max p99
≤ 60 ms
Availability
≥ 99.6%
Budget
≤ $11,800

Functional Requirements

  • FR-1POST /v1/fabric/prefill-dispatch — Assigns prompt to prefix-warm prefill cluster, reserves decode KV-block lease, and tracks RDMA transfer state.
  • FR-2GET /v1/fabric/kv-blocks/{block_hash} — Resolves live HBM/DRAM KV-cache block placement and MoE expert replica load weights.
  • FR-3DELETE /v1/fabric/leases/{lease_id} — Reclaims completed or aborted decode KV-block reservations atomically.
  • FR-4Must sustain 240k+ control-plane RPS with strict lease linearizability and p99 <= 60 ms during 8x telemetry/checkpoint storage brownouts.

Workload Profile

Steady Frontier Serving84,000 Block & Expert Route Read RPS / 15,000 Lease & Transfer Write RPS
Global Reasoning Model Surge215,000 Read RPS / 36,000 Lease Write RPS
Active Working Set62 GB distributed KV-block directory, HBM lease map & MoE expert telemetry
Coordination GateZero double-allocated HBM KV blocks + 8x brownout isolation under strict budget

Consistency Model

Strict atomic CAS lease allocation on HBM KV-block slots and prefill->decode handoff tokens so concurrent streams never corrupt tensor memory.

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 ≤ 120 ms
• Availability: ≥ 99.6%
Valid end-to-end Client → Compute → Storage topology