linkjobai / System Design Interview: Designing a URL Shortener
0 likes
0 forks
1 files
Last active 5 days ago
Interview prep notes
System Design Interview: Designing a URL Shortener
The URL shortener (think bit.ly) is a classic warm-up design question. Here's a structure that fits in 35 to 45 minutes.
Requirements
- Functional: create a short link for a long URL; redirect short to long; optional custom alias and expiry.
- Non-functional: very read-heavy (often 100 reads per write), low-latency redirects, links must not collide.
- Rough scale: 100M new links a month means about 40 writes a second and 4,000 reads a second.
Newer
Older