CheatsheetKit

System Design · Senior

System Design Case Studies Pack

Worked solutions to the classics: Design Twitter, Uber, a URL shortener, a chat app and more.

Full worked designs with requirements, estimates, data models, and the tradeoff discussion.

Questions
360
Topics
20
Pages
318

Get the System Design Case Studies Pack — $9 One-off. Delivered as a PDF by email the moment payment clears.

Prices shown are a USD base. Your local-market price is calculated at checkout in your own currency, plus any local sales tax.

What is inside

20 chapters, in the order the interviews tend to ask them:

  1. Design a URL shortener
  2. Design a distributed rate limiter
  3. Design a news feed
  4. Design a realtime chat system
  5. Design a file storage and sync service
  6. Design a ride hailing marketplace
  7. Design a video streaming platform
  8. Design a notification system
  9. Design a ticket booking system
  10. Design search autocomplete
  11. Design an analytics pipeline
  12. Design a web crawler
  13. Design a media upload and processing pipeline
  14. Design a collaborative document editor
  15. Design a social graph
  16. Design location based search
  17. Design a distributed job scheduler
  18. Design a payments and wallet system
  19. Design a recommendation engine
  20. Design flash sale inventory

How the answers are built

Each chapter opens with the checklist the question is really testing. A few from this pack:

Questions this pack covers

  1. How can you generate short codes without a database round trip on every request?
  2. Where in the request path should the redirect handler sit, and what should it be allowed to touch?
  3. What is the actual difference between a token bucket and a sliding window log?
  4. Where should rate limit counters live when the application runs on many servers?
  5. When is fan out on write the right choice, and when should you fan out on read instead?
  6. How do you stop one celebrity post from writing millions of fan out rows?
  7. How should you decide between long polling and a websocket connection for realtime delivery?
  8. What protocol should you use to keep messages in order across all of a user's devices?

Each one is answered in full in the pack, with the reasoning written out rather than a bullet list.

Related packs

About this pack

How many questions?
360, spread across 20 topics, written out in full across 318 pages.
Do the answers just list keywords?
No. Each answer is written as prose, because that is what you have to reproduce when someone asks you the question.
How do I get it?
Pay once and the PDF arrives by email immediately, with a signed download link.
Can I get it refunded?
Yes, if it is not what you expected. See the refund policy.