System Design
Intermediate
Pro
Design a URL Shortener (bit.ly / TinyURL)
A model interview answer: requirements, estimation, key generation, redirects, caching and scale
25 min read
8 views
Walk through a complete URL shortener design the way a strong candidate answers it: requirements and estimates, base62 vs hashing vs a key-generation service, 301 vs 302 redirects, hot-URL caching, sharding, expiry, analytics and abuse controls.