No. 01 · Caching & read paths
Design a URL shortener
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- Bitly (problem breakdown)
Clear requirements-to-design path with graded options for short code uniqueness (hash prefix vs counter vs batched counters) and read scaling with caching. Light on analytics pipelines and abuse handling.
Link checked 2026-12-06
- How to Design a URL Shortener: A Step-by-Step System Design Walkthrough
The classic long-form version: capacity math, offline key generation service, partitioning, cache eviction and expiry cleanup. Some of the database advice is dated and the 302 vs 301 discussion is brief.
Link checked 2026-12-06
- Design a URL Shortener (Bitly) - System Design Interview
A long, careful video pass that spends real time on ID generation trade-offs and database choice. Good if you prefer listening; slower to skim than the written breakdowns.
Link checked 2026-12-06
- Design a URL Shortener - System Design Interview
Compact walkthrough with worked hashing and Base62 examples. Watch the arithmetic: it states 62^7 as about 3.5 billion, which is off by a factor of 1,000 (it is about 3.5 trillion).
Link checked 2026-12-06
- Redirections in HTTP
Authoritative reference for what 301, 302, 307 and 308 mean to browsers and caches, which is the detail behind the "permanent redirect vs click analytics" trade-off. Not a design walkthrough.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 3 of 4 links from the audited catalog kept
- medium.com/%40sandeep4.verma/system-design-scalable-url-shortener-serv Reachable (bot-blocked to curl, read via reader). Covers the same counter, MD5 and key-service options as the kept walkthroughs, padded with long code dumps; duplicate.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Candidate reports
- Multiple reports Amazon
- SDE 2 candidate says the virtual HLD round (round 3 of the final loop) was "Design: URL Shortener"; later updated as rejected. · posted 2025-06-29 · checked 2026-12-06
- Backend engineer with 12 years of experience lists an Amazon system design interview in Feb 2020 where the question was a URL shortening service. · posted 2021-06-12 · checked 2026-12-06
Catalog tags (unverified)
GoogleMeta (Facebook)MicrosoftHubSpotRevolutStripeConfluent
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING
Related practice and guides
From our Learn guides
- Visual guide Follow a web request
- Visual guide Where a cache helps (and where it lies)
- Pattern Caching and hot keys
- Guide Estimates that drive decisions
- Guide How to run a paper-first practice session