Back to problems

Design TinyURL

System Design · Amazon · Easy

A URL shortening service converts long URLs into compact aliases, often called short codes, that redirect browsers and API clients to the original destination. For instance, https://www.example.com/products/spring-sale?utm_source=newsletter&utm_campaign=april_launch could be shortened to https://s.example.com/aZ9k2Qx. The service is overwhelmingly read‑heavy: the primary workload is issuing HTTP redirects for short‑code lookups, while new mappings are created far less…

Checking your access…