HLDArena
HLD-130·Caching & Edge
Easy · 500 pts

Dynamic i18n String Bundle & Live Localization API

Design an over-the-air (OTA) localization service delivering translated UI string bundles to web and mobile apps across 80 locales without app-store redeployments.

Max p99
≤ 32 ms
Availability
≥ 99.5%
Budget
≤ $3,200

Functional Requirements

  • FR-1GET /i18n/{app_id}/{locale} — Serves versioned JSON translation bundle with low edge latency.
  • FR-2POST /i18n/{app_id}/{locale} — Publishes updated translation keys from localization pipelines.
  • FR-3PATCH & DELETE /i18n/{app_id}/{locale} — Updates, revokes, or deletes app_id entries with bounded TTL or explicit cache/index invalidation.
  • FR-4Must maintain high availability during 5x origin storage latency brownouts.

Workload Profile

Baseline App Boots25,000 Read RPS / 400 Publish Write RPS
Global App Update Surge70,000 Read RPS / 1,100 Write RPS
Active Working Set10 GB compiled locale bundles
Traffic DistributionConcentrated reads on top app_id + en/es/hi locales

Consistency Model

Eventual edge cache refresh (< 15s) acceptable for UI copy updates.

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