HLDArena
HLD-326·Geo & Telemetry
Hard · 1,500 pts

Global Road-Graph Tile Server & Turn-by-Turn Route Planner

Design a Google Maps / Apple Maps navigation backend serving vector map tiles at global edge scale while computing traffic-aware Contraction Hierarchies / A* routes over partitioned road-network super-cells with live incident rerouting.

Max p99
≤ 65 ms
Availability
≥ 99.7%
Budget
≤ $8,200

Functional Requirements

  • FR-1POST /v1/navigation/routes — Computes top-3 turn-by-turn routes + live traffic ETAs across hierarchical road-graph partitions.
  • FR-2GET /v1/maps/tiles/{z}/{x}/{y}.mvt — Delivers versioned vector road/label tiles with high CDN and regional cache hit rates.
  • FR-3POST /v1/navigation/incidents — Ingests live road closures/accidents, updates edge weights, and triggers active-commuter reroutes.
  • FR-4Must sustain p99 <= 65 ms route computation during severe rush-hour stadium/weather reroute storms and regional DB brownouts.

Workload Profile

Commuter Baseline62,000 Tile & Route Read RPS / 11,000 Probe & Incident Write RPS
Highway Closure Reroute Storm162,000 Read RPS / 26,000 Telemetry Write RPS
Active Working Set46 GB hierarchical road-graph shortcuts & live segment speed overlay
Spatial PartitioningS2 / H3 regional road-cell sharding + boundary-node transit tables

Consistency Model

Bounded eventual (< 5s) live traffic edge-weight overlays layered onto immutable versioned base road-graph snapshots.

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