DrawLintDrawLint.ai
Easy✦ Official
35 min

URL Shortener

Design a URL shortening service that converts long URLs into short, unique aliases and redirects users when the short URL is accessed.

These requirements and scale numbers are for reference. The AI reviewer will evaluate your design based on the functional requirements and assumptions you define.

🎯 Key Requirements

  • Generate unique short URLs from long URLs
  • Redirect short URLs to the original URL
  • Support custom aliases and optional expiration

📐 Scale Expectations

  • 1M URLs created per month
  • Roughly 10:1 read-to-write ratio (~1K redirects/sec at peak)
  • Redirect latency under 200ms

🔗 Related Topics

Community Submissions (4)