Skip to content

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Design Notes

Revision notes for system design interviews, organised in five parts so you can study in order or jump straight to what you need.

Part Question it answers
Part 0: Interview Framework How do I run the interview and size the problem?
Part 1: Key Technologies Which building block do I pick, and when?
Part 2: Core Concepts Why do these systems behave the way they do?
Part 3: Common Patterns What are the reusable solutions to recurring problems?
Part 4: Interview Problems Can I combine all of it into a full design?
Part 5: Resources What should I read or watch next? (books, papers, blogs, videos)

Each note follows the same shape: TL;DR → core ideas → diagram → trade-offs → interview follow-ups → references. Diagrams are in resources/**; diagrams are SVG files that render directly on GitHub.

Suggested path: Part 0 → Part 1 (skim) → Part 3 → Part 4, and dip into Part 2 whenever a "why" comes up.


Part 0: Interview Framework


Part 1: Key Technologies

What to reach for. Each page: what it is, when to use it, when not to, scaling model, consistency/durability guarantees, failure behaviour, and links to the concepts it relies on.

1.1 Databases

1.2 Blob / Object Storage

1.3 Search

1.4 Caching

1.5 Queues & Pub/Sub

1.6 Stream Processing

1.7 Batch Processing

1.8 Coordination & Locks

1.9 Edge & Traffic

1.10 Service Communication

1.11 Geospatial

1.12 LLM Inference & Serving

Read top to bottom. Each page starts with a plain-words explanation and diagrams.

Foundations

Running it faster

Scaling out

Production and related


Part 2: Core Concepts

Why they work. Theory and trade-offs; each page ends with "where it shows up" links back to Part 1.

2.1 Foundations

2.2 Distributing Data

2.3 Consistency & Ordering

2.4 Transactions & Messaging Guarantees

2.5 Agreement

2.6 Failure Handling

2.7 Data Structures & Storage Internals

2.8 Security & Observability


Part 3: Common Patterns

Reusable solutions that combine technologies and concepts. Format: problem it solves → approach → technologies used → trade-offs → example problems.

3.1 Scaling & Performance

3.2 Correctness & Reliability

3.3 Architecture Patterns


Part 4: System Design Interview Problems

Each problem lists the building blocks (Part 1), concepts (Part 2) and patterns (Part 3) it uses. Template for new problems: template.md

Depth Oriented Problems

Networking and API Systems

Search and Discovery Systems

Streaming/Continuous Data Flow

Location-Based Systems

Social Media and Communication Systems

E-commerce and Reservation Systems

Financial Systems

User Requests Traffic

Part 5: Resources

Where to go deeper. Papers are paired with the note they back up.

5.1 Books & Book Notes

5.2 Must-Read Distributed Systems Papers

Paper Pairs with
Paxos: The Part-Time Parliament Consensus
The Chubby lock service Distributed Locking, Coordination Services
ZooKeeper: Wait-free coordination Coordination Services
Dynamo: Amazon's Highly Available Key-value Store Quorum, Consistent Hashing, Replication
Bigtable Database Indexes (LSM), SQL vs NoSQL
The Log-Structured Merge-Tree Database Indexes (LSM)
Spanner Distributed Transactions, Consistency
The Google File System Blob / Object Storage
MapReduce Batch vs Stream Processing
Kafka: a Distributed Messaging System for Log Processing Queues & Pub/Sub

5.3 Blogs & GitHub Repos to Follow

5.4 YouTube Channels

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors