SysDesigner

Design a URL Shortener

Easy

Design a system like Bit.ly that generates short URLs and redirects users to the original long URL.

Functional Requirements

  • Accept a long URL via an API or UI
  • Return a unique short URL
  • Redirect users to the original URL when the short one is visited

Non-Functional Requirements

  • Redirection latency under 100ms
  • Support 100k+ daily users

Define Entities

Define API Routes

Components