No. 02 · Storage & data modeling
Design a Pastebin-style text sharing service
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.
- Design Pastebin.com (or Bit.ly)
Free, structured solution with usage math, a metadata table plus object store split, and the analytics path. Treats Pastebin and Bit.ly as one problem, so expiry and size limits get little attention.
Link checked 2026-12-06
- System Design - Design Pastebin Text Storage System
Useful because it lays out the alternatives side by side: blobs in the database vs object storage, hashed vs pre-generated keys, cron sweeps vs native TTL for expiry. No caching or CDN discussion to speak of.
Link checked 2026-12-06
- Design PasteBin | Systems Design Questions 3.0 With Ex-Google SWE
Video walkthrough that leans on object storage, expiry and caching hot pastes, with some interviewer-style pushback. Fast-paced and informal; pair it with a written source for the numbers.
Link checked 2026-12-06
- Expiring objects (S3 Lifecycle)
Primary docs for letting the object store expire paste bodies on a schedule, including the fact that expiry is asynchronous, so reads must still check the expiry time themselves.
Link checked 2026-12-06
- Using time to live (TTL) in DynamoDB
Short reference showing how a managed TTL deletes expired metadata rows in the background, with a delay. Handy when arguing why lazy expiry checks on read are still needed.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 2 of 3 links from the audited catalog kept
- medium.com/codex/designing-pastebin-77e6e86172eb Repost of a Grokking course chapter (still says "this chapter") without clear attribution; the free System Design Primer solution covers the same ground.
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
- Candidate report Amazon
- SDE-2 candidate reports the high-level design round was "design pastebin". · posted 2022-03-04 · checked 2026-12-06
Catalog tags (unverified)
VantaNutanix
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING