Question bank

No. 02 · Storage & data modeling

Design a Pastebin-style text sharing service

Foundations25 minAPI design · Data modeling · Blob storage & CDN · Caching · Estimation

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough 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.

  1. Design Pastebin.com (or Bit.ly)

    The System Design Primer (GitHub) · Donne MartinArticleFull walkthroughFreeVetted

    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

  2. System Design - Design Pastebin Text Storage System

    ujjwalbhardwaj.me · Ujjwal BhardwajArticleFull walkthroughFreeVetted

    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

  3. Design PasteBin | Systems Design Questions 3.0 With Ex-Google SWE

    Jordan has no life (YouTube)VideoFull walkthroughFreeVetted

    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

  4. Expiring objects (S3 Lifecycle)

    AWS DocumentationDocsBackgroundFreeVetted

    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

  5. Using time to live (TTL) in DynamoDB

    AWS DocumentationDocsBackgroundFreeVetted

    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

Catalog tags (unverified)

VantaNutanix

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions