Technical interview guide
URL Shortener Design
Designing a URL shortener: unique keys, redirect semantics, cache TTLs, click accounting off the GET path, and open-redirect abuse.
- Read
- 38 min
- Practice MCQs
- 25
- Interview Q&A
- 25
- Edition
- v4
- Editorial status
- Reviewed
Scope: HTTP per RFC 9110 and RFC 6585; UUIDs per RFC 9562; uniqueness illustrated with PostgreSQL unique indexes and Redis GET; abuse controls per OWASP and Unicode TR36.
Curated: · Written: · Reviewed: