Design a URL shortener
medium~45 min#caching#hld#storage#system-design
Design a URL shortener: users submit a long URL and get a short one back; anyone hitting the short URL is redirected.
Drive the requirements yourself. Before drawing anything, state your scale assumptions and do the back-of-envelope estimate — reads per second, writes per second, storage per year.
Solution — locked
Sign in to unlock this one
The solution opens once you explain the idea in your own words and it passes the grader — which needs an account to record. Signing in is free.
Log in