◐ system-design/readme.md
System Design — End-to-End Curriculum
A comprehensive system design reference built for Google L3/L4 prep. Written from first principles, with trade-offs explicitly called out, and Google-relevant systems (GFS, Bigtable, Spanner, Borg) folded in.
~2 min read·updated 5/29/2026
System Design — End-to-End Curriculum
A comprehensive system design reference built for Google L3/L4 prep. Written from first principles, with trade-offs explicitly called out, and Google-relevant systems (GFS, Bigtable, Spanner, Borg) folded in.
Read top to bottom for full coverage. Each chapter stands alone and links forward.
Part I — Foundations
- Fundamentals: Reliability, Scalability, Maintainability
- Numbers & Capacity Estimation
- Networking: TCP, HTTP, DNS, WebSockets
Part II — The Data Layer
- Data Models: Relational, Document, Graph
- Storage Engines: B-Trees vs LSM Trees
- SQL Deep Dive: ACID, Isolation, MVCC
- NoSQL Deep Dive: KV, Document, Wide-Column, Graph
- Encoding & Schema Evolution: JSON, Protobuf, Avro
- Caching: Strategies, Eviction, Redis vs Memcached
- Replication: Single-Leader, Multi-Leader, Leaderless
- Partitioning & Sharding
Part III — Distributed Systems Theory
- Consistency Models, CAP, PACELC
- Distributed Systems Fundamentals: Faults & Networks
- Time, Clocks, Ordering (Lamport, Vector, TrueTime)
- Consensus: Paxos, Raft, ZAB
- Transactions: Local, Distributed, 2PC, Saga, TCC
- Probabilistic Structures: Bloom, Consistent Hashing, Merkle, HLL
Part IV — Architecture & Patterns
- Load Balancing: L4 vs L7, Algorithms
- Message Queues & Event Streaming: Kafka, RabbitMQ, SQS
- Microservices, Monoliths, Service Mesh
- API Design: REST, GraphQL, gRPC
- Async Patterns: Pub/Sub, CQRS, Event Sourcing, Saga
- Rate Limiting & Throttling
- CDN & Edge Computing
- Search Systems: Inverted Index, Elasticsearch
Part V — Operations
- Observability: Logs, Metrics, Traces, SLOs
- Security: TLS, OAuth, JWT, OWASP
- Containers, Kubernetes, Borg
- Deployment: Blue/Green, Canary, Feature Flags
Part VI — Big Data & Streaming
Part VII — Case Studies
- Design a URL Shortener (TinyURL/bit.ly)
- Design Twitter / News Feed
- Design YouTube / Video Streaming
- Design Uber / Ride Hailing
- Design WhatsApp / Chat at Scale
- Design Dropbox / Google Drive
- Design a Web Crawler
- Design Typeahead / Autocomplete
- Design Yelp / Geo-Search
- Design a Distributed Cache
- Design a Rate Limiter Service
- Design a Notification System
- Design a Payment System
- Design an Ad Click / Counting System
Part VIII — Interview Strategy
- The Interview Framework (RESHADED)
- Cheat Sheet: Common Trade-offs & Patterns
- Google Papers: GFS, Bigtable, Spanner, MapReduce, Borg
How to use this
- First pass (8 weeks): Read Parts I–VI like a book. Don't skip math sections. Sketch every diagram by hand.
- Second pass (8 weeks): Take a case study (Part VII), close your eyes, design it on paper, then read the chapter and diff.
- Third pass (8 weeks): Mock interviews. Use Part VIII as a checklist.
Every chapter has a "Trade-offs" section. Memorize the trade-offs, not the conclusions. An interviewer cares whether you can reason about CP vs AP under context X — they don't care whether you "chose" Postgres or DynamoDB.
// 1 view