← Interview Preparation

System Design Use Cases

External case-study references only — Hello Interview, ByteByteGo, Grokking the System Design Interview (DesignGurus.io), System Design Primer, and selected free deep dives. Each link targets a specific chapter or breakdown, time-boxed for Senior/Staff interview prep. Pair with the in-repo theory tracks (Networking → Distributed Systems) and practice timed mock designs.

11 categories · 47 cases · 97 references · ≈83h total reading time (pick 1–2 sources per case)

How to use this page

  • Nothing here is hosted in this repo — only outbound links to third-party writeups, courses, and solutions. Paid vs free is labeled per reference.
  • Mark each source read when you finish it — progress syncs with your other roadmap tracks. Bookmark whole cases you want to mock again later.
  • Start with Methodology & interview craft, then pick cases that match your target loop (product vs infra vs data platform). Read one primary source, then optionally a second source for a different angle on the same problem.
  • Hello Interview breakdowns include mid/senior/staff bars and deep-dive prompts. ByteByteGo chapters follow Alex Xu's four-step framework. DesignGurus.io is the official home of Grokking the System Design Interview.
  • After reading, run a 45-minute timed mock on the same prompt using your in-repo Distributed Systems, Communication, Microservices, and Databases material as building blocks.

Your Progress

0%
0 / 97Sources marked read
0h / 83hReading time logged
47Cases across 11 categories
Progress by category
Methodology & interview craft
0/11
Building blocks & infrastructure primitives
0/12
Storage, sync & files
0/9
Feeds, social & user-generated content
0/13
Messaging & realtime collaboration
0/5
Media & video streaming
0/5
Search & discovery
0/8
Location, marketplaces & scheduling
0/10
Payments, fintech & commerce
0/7
Platform, observability & data pipelines
0/10
Staff+ production systems & paper depth
0/7

Case study index

Methodology & interview craft

Read these before case studies — frameworks, capacity math, delivery structure, and pattern vocabulary for Senior/Staff loops.

3 cases · ≈6h if every link is read (pick 1–2 per case in practice)

System design interview framework

How to run the 45-minute round — requirements, high-level design, deep dives, wrap-up.

0/4 read

Back-of-the-envelope & capacity estimation

QPS, storage, bandwidth, and latency budgets — expected at Senior+ before you draw boxes.

0/3 read

Patterns & trade-off vocabulary

Named patterns interviewers expect you to invoke by name — not reinvent under pressure.

0/4 read

Building blocks & infrastructure primitives

Standalone components that appear inside almost every product design — master these before composite cases.

6 cases · ≈9h if every link is read (pick 1–2 per case in practice)

Distributed rate limiter

Token bucket vs leaky bucket, per-tenant quotas, Redis vs in-process, race conditions at scale.

0/3 read
  • Classic Alex Xu walkthrough — algorithms, middleware placement, and distributed consistency pitfalls.

  • Designing an API Rate LimiterDesignGurus.ioPaid40m

    Grokking case study — KGS-style thinking, sliding window log, and where to terminate TLS vs app layer.

  • Design a Rate LimiterHello InterviewFreemium50m

    Level-by-level expectations (mid/senior/staff) and deep dives on Redis cell vs centralized counter.

Distributed key-value store

Partitioning, replication, quorum reads/writes, eventual consistency — Dynamo-shaped thinking.

0/3 read

Consistent hashing & data placement

Virtual nodes, resharding, hot keys — appears in caches, KV stores, and load balancers.

0/1 read

Notification system (push, email, SMS)

Multi-channel delivery, templates, retries, idempotency, and fan-out to millions of devices.

0/2 read

Distributed cache (Redis-scale)

Eviction, replication, cache-aside vs write-through, stampede mitigation — not just 'add Redis'.

0/1 read

Storage, sync & files

Object/blob storage, sync semantics, chunking, deduplication, and metadata vs data separation.

4 cases · ≈7h if every link is read (pick 1–2 per case in practice)

URL shortener (Bit.ly / TinyURL)

ID generation, read-heavy caching, 301 vs 302, analytics — the hello-world case done at Staff depth.

0/4 read

Pastebin / text snippet hosting

Similar to URL shortener but stores content blobs — object storage + metadata DB split.

0/1 read
  • Designing PastebinDesignGurus.ioPaid40m

    Blob storage for large pastes, expiration TTLs, and custom URLs — natural follow-up to URL shortener.

Dropbox / file sync

Chunking, block-level dedup, sync protocol, conflict resolution, metadata service.

0/3 read
  • Design DropboxHello InterviewFreemium1h

    Hard-rated breakdown — block store, notification of changes, and multi-device sync at Senior depth.

  • Same problem class as Dropbox — compare chunk size, sync vs async upload, and conflict policies.

  • Designing DropboxDesignGurus.ioPaid50m

    Grokking walkthrough with acid metadata + eventually consistent blob tier.

S3-like object storage

Buckets, multipart upload, durability, erasure coding — platform design for Staff infra loops.

0/1 read

Feeds, social & user-generated content

Fan-out on write vs read, ranking, celebrity problem, sharding social graphs.

5 cases · ≈10h if every link is read (pick 1–2 per case in practice)

News feed (Facebook / Twitter timeline)

Hybrid fan-out, feed ranking, hot users, cache hierarchy — the most common Senior case.

0/6 read

Instagram / photo-centric social

Media-heavy feeds, CDN, object storage, ranking — news feed plus blob pipeline.

0/2 read
  • Design InstagramHello InterviewFreemium55m

    Medium difficulty — ties feed fan-out to image upload and CDN delivery paths.

  • Designing InstagramDesignGurus.ioPaid45m

    News feed generation with media metadata sharding — compare with pure feed case above.

Twitter / microblogging

Timeline, tweet ID, search indexing, celebrity fan-out — overlaps feed but search-heavy.

0/1 read
  • Designing TwitterDesignGurus.ioPaid50m

    Tweet ingestion, timeline fan-out, and retweet graph — pair with Twitter Search below.

Facebook post search

Inverted indexes at social scale, near-real-time indexing, ranking — search + feed intersection.

0/2 read
  • Design Facebook Post SearchHello InterviewFreemium1h 5m

    Hard-rated — Elasticsearch-style indexing with social graph constraints.

  • Designing Twitter SearchDesignGurus.ioPaid55m

    Full-text search, early binding vs late binding — complementary to FB post search.

Online judge / LeetCode-style platform

Sandboxed code execution, queue workers, result aggregation — common at hiring-platform companies.

0/2 read

Messaging & realtime collaboration

Chat delivery guarantees, presence, WebSockets at scale, OT/CRDT awareness for collaborative editors.

3 cases · ≈5h if every link is read (pick 1–2 per case in practice)

WhatsApp / messaging app

1:1 and group chat, delivery receipts, offline sync, end-to-end encryption awareness.

0/3 read

Google Docs / collaborative editor

Realtime sync, operational transform or CRDT awareness, WebSocket fleet scaling.

0/1 read
  • Design Google DocsHello InterviewFreemium1h 10m

    Hard-rated — realtime updates pattern, storage growth, million-connection scaling.

Live comments / realtime engagement

Sub-second fan-out during live streams — hot path optimization and moderation pipelines.

0/1 read

Media & video streaming

Upload pipelines, transcoding, CDN, adaptive bitrate, view-count aggregation.

2 cases · ≈5h if every link is read (pick 1–2 per case in practice)

YouTube / video platform

Upload flow, transcoding DAG, streaming, recommendations hook — Staff favorite at Google/Netflix-adjacent shops.

0/3 read

Top-K / trending (YouTube views, Twitter trends)

Streaming aggregates, approximate algorithms, sliding windows — Staff data-plane crossover.

0/2 read

Search & discovery

Autocomplete, crawlers, inverted indexes, and aggregator pipelines.

3 cases · ≈6h if every link is read (pick 1–2 per case in practice)

Web crawler

Politeness, frontier queue, deduplication, distributed fetchers — infra classic.

0/4 read

Location, marketplaces & scheduling

Geospatial indexing, matching, inventory holds, and high-contention booking.

5 cases · ≈9h if every link is read (pick 1–2 per case in practice)

Uber / ride-sharing

Driver location index, matching, surge pricing, trip state machine — hard loop staple.

0/4 read
  • Design UberHello InterviewFreemium1h 10m

    Hard-rated with geospatial deep dives and dispatch fairness — must-do Senior case.

  • Designing Uber backendDesignGurus.ioPaid55m

    Quadtree/geohash matching and WebSocket location updates.

  • Geospatial index primitive extracted — read before or after full Uber case.

  • Nearby Friends (Vol. 2)ByteByteGoPaid45m

    Location update stream + geohash sharding — lighter geo warm-up.

Yelp / local search & reviews

Geo queries, review storage, ranking by proximity + quality.

0/2 read

Ticketmaster / event ticketing

Inventory consistency, flash-sale contention, seat holds, payment coupling.

0/2 read
  • Design TicketmasterHello InterviewFreemium1h

    Medium difficulty — distributed locks vs queue-based allocation for hot events.

  • Designing TicketmasterDesignGurus.ioPaid50m

    Grokking treatment of seat map partitioning and oversell prevention.

Hotel reservation system

Date-range inventory, overbooking policies, search vs booking consistency.

0/1 read

Google Maps / routing (awareness)

Tile serving, geospatial data, routing graphs — Staff infra depth.

0/1 read
  • Google Maps (Vol. 2)ByteByteGoPaid1h

    Optional Staff+ case — map tile CDN and routing service decomposition.

Payments, fintech & commerce

Idempotency, ledgering, double-entry awareness, fraud, and regulatory constraints.

4 cases · ≈7h if every link is read (pick 1–2 per case in practice)

Payment system (Stripe / PayPal)

Idempotent charges, ledger, reconciliation, PCI boundaries — Hard at every top shop.

0/3 read

Robinhood / stock trading

Order matching, market data feed, settlement, regulatory reporting.

0/2 read
  • Design RobinhoodHello InterviewFreemium1h 10m

    Hard-rated fintech case — order book, real-time quotes, and trade lifecycle.

  • Stock Exchange (Vol. 2)ByteByteGoPaid1h

    Matching engine and market data distribution — infra view of trading systems.

eBay / online auction

Bidding concurrency, sniping, proxy bids, eventual winner notification.

0/1 read

Digital wallet

Balance consistency, transfer idempotency, multi-currency — payment system variant.

0/1 read

Platform, observability & data pipelines

Infra and data-plane designs common at Staff — metrics, ads, schedulers, message buses.

6 cases · ≈10h if every link is read (pick 1–2 per case in practice)

Distributed job scheduler (Airflow-scale)

DAG scheduling, worker pools, exactly-once task execution, backfill.

0/1 read

Ad click aggregation (Google AdSense-scale)

High-volume event ingestion, windowed aggregation, billing accuracy — data + ads crossover.

0/2 read

Price tracking / product crawler

Scheduled crawls, change detection, notification fan-out — practical e-commerce infra.

0/1 read

Distributed email service

SMTP pipeline, queues, spam filtering, storage tiering — classic infra breadth case.

0/2 read

Staff+ production systems & paper depth

Optional after core cases — real-world system papers and hard variants for infra/storage Staff loops.

6 cases · ≈9h if every link is read (pick 1–2 per case in practice)

Recommendation system (Netflix-scale)

Candidate generation, ranking, feature store hooks, offline/online split.

0/1 read

ChatGPT / LLM serving platform

Inference fleet, queueing, GPU capacity, safety filters — 2024+ Staff loop variant.

0/1 read
  • Design ChatGPT (OpenAI)Hello InterviewFreemium1h 15m

    Hard-rated modern case — pairs with in-repo AI Systems track for depth.

Real-time gaming leaderboard

Sub-second score updates, sharded ranks, cheat detection hooks.

0/1 read