The Desi Architect
Notes / Design Interview Problems / Design TinyURL / Bitly (URL Shortener)
Track 5 · Design Interview Problems

Design TinyURL / Bitly (URL Shortener)

Scale a URL shortening service to 10 crore links per month and 25,000 peak redirects/sec. Range-based token generation, Base62 encoding, 301 vs 302 redirects, and fraud prevention.

Interview problem20 min read
On this page
  1. The 2:15 AM Diwali SMS alert
  2. 🟢 Layer 1: The Core Mechanism
  3. 🟡 Layer 2: The Redirection & Traffic Pipeline
  4. 🔴 Layer 3: Architect's Corner