Learn
Worked solutions and the ideas behind them.
41 guides and 114 concepts so far. Concepts are free to read.
Listen
Walkthroughs of a question, in two parts. Part 1 is free.
System design guides
- How to design an A/B testing platform
- How to design an ad click aggregator
- How to design an ad serving system
- How to design Amazon Lockers
- How to design GitHub Actions
- How to design a digital wallet
- How to design a distributed cache
- How to design a distributed key-value store
- How to design a distributed message queue
- How to design Dropbox
- How to design Facebook post search
- How to design a flash sale
- How to design real-time fraud detection
- How to design a game leaderboard
- How to design Google Maps
- How to design a hotel booking system
- How to design Instagram
- How to design Facebook Live comments
- How to design Twitch
- How to design a metrics monitoring system
- How to design the Facebook news feed
- How to design a notification system
- How to design an over-the-air update system
- How to design peer-to-peer file distribution
- How to design Pastebin
- How to design a payment system
- How to design photo storage with dedup
- How to design a price drop tracker
- How to design a rate limiter
- How to design S3 object storage
- How to design Snapchat messaging
- How to design a top songs widget
- How to design Uber
- How to design Bitly
- How to design a webhook delivery system
- How to design WhatsApp21 min
- How to design YouTube
Frontend guides
Behavioral guides
Concepts by area
Frontend
- Accessible widgets
- Batching UI updates
- Canvas or the DOM
- Client caching and normalized stores
- Conflict resolution on the client
- Designing a component API
- Core Web Vitals
- Coordinating across tabs
- Debounce and request cancellation
- Drag and drop, and keeping order
- Form validation
- Loading images
- List virtualization
- Offline-first storage
- Optimistic updates and rollback
- Pagination and infinite scroll
- Partial failure in the UI
- Reconnect and resume
- Rendering strategies: client, server, static
- Rich text document models
- Streaming responses in the UI
- Sync queues and client idempotency
- Undo and redo
- Where state lives
Answering behavioral questions
- A level deeper on your project
- Answer first
- Answering a hypothetical
- Answering on the clock
- Choosing the right story
- Clinical scenarios
- Explaining a decision
- Failure and conflict without blame
- Gaps and reasons for leaving
- Saying "I", not "we"
- Logistics questions
- Stories for a manager round
- Putting numbers on impact
- Questions to ask your interviewer
- Service recovery
- The STAR method
- Taking feedback in the room
- Tell me about yourself
- What you learned
- The pay question
- The two-minute answer
- The two-minute project pitch
- Why this company and this role
Running the round
Real-time and the edge
Search and location
Reliability and security
Async work
Storage and media
Data
- Change data capture
- Choosing a database
- Conflict resolution
- Consistency models
- Consistent hashing
- Database indexes
- Distributed locks and leases
- Erasure coding and replication
- Event sourcing and ledgers
- Hot keys and hot partitions
- Optimistic and pessimistic locking
- Quorums and tunable consistency
- Replication and read replicas
- Sagas and two-phase commit
- Sharding and partition keys
- Time-series storage
- Transactions and isolation levels