HLD-326·Geo & Telemetry
Hard · 1,500 ptsGlobal 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.
Solutions Locked
Sign in and either achieve AC or complete 3 official submissions on this question to inspect community diagrams and writeups.
Loading solutions...
Submission History (0)Select to replay
No submissions yet
Click Submit in the top bar to evaluate against all 7 judge cases and save each run here.
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