Design Problems
Common design questions and the reference material behind them.
8 notes · 67 min total
- 1URL Shortener (like Bitly)A URL shortener run through the Interview Approach: create short links, redirect them fast, keep every code unique, and scale reads far beyond writes.7 min
- 2Distributed Rate LimiterA rate limiter run through the Interview Approach: count requests per user, allow or reject in under 10 ms, and stay up at a million requests a second.9 min
- 3Distributed Cache (like Redis)A distributed key-value cache run through the Interview Approach: set, get and delete, LRU eviction, TTLs, and sharded clusters with replicas.9 min
- 4Top K Videos (like YouTube Trending)A top K videos service run through the Interview Approach: ingest view events, count them per window, and serve the most-viewed list fast.10 min
- 5Local Business Search (like Yelp)A local business search and review site run through the Interview Approach: search by name, location and category, view a business, and rate it.9 min
- 6File Storage and Sync (like Dropbox)A file storage and sync service run through the Interview Approach: upload files up to 50 GB in chunks, download them back, and keep every device in sync…10 min
- 7Chat App (like WhatsApp)A chat app run through the Interview Approach: group chats, real-time delivery over WebSockets, offline inboxes, media and a billion users.11 min
- 8Practice QuestionsMore system design prompts to practice with the Interview Approach, each with the part of the design that makes it interesting.2 min