Backend
System Design: URL Shortener (TinyURL)
Design a scalable URL shortener system step by step.
May 18, 202510 min read
Requirements
- Shorten a long URL
- Redirect short URL to original
- High availability, low latency
Approach
Use a base62 encoding scheme on an auto-incrementing ID to generate short codes.
DatabaseSystem Design