High-Level Design• 30 Min
Design a URL Shortener (TinyURL)
MEDIUM
# Architectural Goals
1. **High Availability**: TinyURL must be highly available with 99.99% uptime.
2. **Low Latency**: Link redirection should take <100ms.
3. **Scalability**: Handle 100 million new URLs created per day.
---
## 1. High-Level Design Overview
We map long URLs to 6-character short hashes using Base58 or Base62 encoding. Key Generation Service (KGS) acts as a distributed token provider to guarantee uniqueness...
Prerequisites
- Hashing Algorithms
- Base62 Encoding
Evaluation Workbench
Use this sandbox to test percentage evaluations locally. This course configuration evaluates on active client profiles.
Active SDK evaluation matches client consistent rollout bucket key.