Blueprint — system design

Types · drag to reorder

Design a URL shortener

Design a service that turns a long URL into a short one and redirects visitors back to the original. Assume it is read-dominated and that redirects have to feel instant.

Requirements
  • Create a short link for any URL
  • Redirect a short link to its original in under 100ms
  • Links do not expire
  • Custom aliases are out of scope
Scale
New URLs
500M / month
Read:write ratio
100:1
Redirect latency
< 100ms p99

Draw the design on the board, fill in Your answer, then submit.

Loading board

Loading board