System design / Distributed system reading notes
Resource
- The System Design Primer
- System Design Interview Fundamentals
- System Design Interview – An insider’s guide
Common scalability scenarios
| Problems | Techniques |
|---|---|
| Store big data | |
| HA reads | |
| HA writes | |
| Dataset partition | |
| Horizontal scaling | |
| Heterogeneity | |
| Tunable consistency | |
| Temporary error | |
| Permanent error |
The framework

Building blocks
- Back of the envelop
- Failure/Error handling
- API design
- Database selection
- Service Discovery and Request Routing
- Cache
- Realtime data update
- (Message) Queue/Pub-Sub
- WebSocket handler
Adhoc topics reading notes
- CAP theorem
- ACID: properties of transactions
- OLAP/OLTP: Online Analytical Processing
- PACELC theorem
- Rate limiting algorithms
- Sharding
- Consistent hashing
- Data replication
- Bloom filter
- SSL Table
- Video transcoding
- Streaming protocol
- Virtualization and cloud
- OSI model
Cases
Last updated on