URL Shortener
URL Shortener
Design a URL shortening service similar to TinyURL. The service should support read (redirecting a short URL to its original long URL) and write (creating a short URL from a long URL) APIs. Consider aspects like data storage, caching, key generation, HTTP response codes, and load balancing.
AI interview prep
Core dilemma
Balancing the generation of unique, short, and memorable identifiers with the need for high read throughput and efficient storage of the mapping between short and long URLs.
3 tradeoffs and 3 stress tests locked
Interview prep
Unlock the interviewer X-Ray rubric, tradeoff matrix, stress tests, clarifying questions, and key concepts.
URL Shortener
URL Shortener
Design a URL shortening service similar to TinyURL. The service should support read (redirecting a short URL to its original long URL) and write (creating a short URL from a long URL) APIs. Consider aspects like data storage, caching, key generation, HTTP response codes, and load balancing.