Best System Design Books: The 2027 Reading List for Distributed Systems, Papers and Courses
The best system design books, distributed systems books, classic papers and free courses, ranked and grouped by goal, with a reading order that actually works.
Whether you are preparing for a system design interview, moving from “I can build an app” to “I can design a platform”, or trying to finally understand consensus and replication, the hard part is not finding a list of system design books. It is knowing which ones to read first, which ones are worth paying for, and which free distributed systems books, papers and courses fill the gaps. This guide answers that in one place.
Last reviewed: December 2026. Editions, prices and links were checked at that time. Paid resources are marked (paid); everything marked (free) is free from the author, publisher or university that owns it.
Table of contents
- Quick picks: the 10-second answer
- How to use this list
- The reading roadmap (with time estimates)
- Core books: understanding data systems
- System design interview books
- Distributed systems theory books
- Software architecture and microservices books
- Data, streaming and event-driven books
- Reliability, operations and performance books
- ML and AI system design books
- Cloud and Kubernetes design books
- Career books for senior and staff engineers
- Every free book in one table
- Head-to-head comparisons
- The essential distributed systems papers
- Free courses and lecture series
- Free online guides, blogs and newsletters
- Study plans
- Projects and exercises
- Concept checklist
- FAQ
- Where to go next
- Contributing
- License
Quick picks: the 10-second answer
| If you want to… | Read this first | Why |
|---|---|---|
| Understand how real data systems work | Designing Data-Intensive Applications, 2nd ed. (Kleppmann & Riccomini, 2026) (paid) | The single most recommended book in the field, now updated for cloud-native and modern storage. |
| Pass a system design interview in 4-6 weeks | System Design Interview, Vol. 1 and Vol. 2 (Alex Xu; Vol. 2 with Sahn Lam) (paid) | Worked answers to the most commonly asked prompts, with diagrams. |
| A shorter, practical first book on distributed systems | Understanding Distributed Systems, 2nd ed. (Roberto Vitillo) (paid) | About 350 pages that bridge theory and day-to-day backend work. |
| A rigorous, free textbook | Distributed Systems, 4th ed. (van Steen & Tanenbaum) (free personal digital copy) | The academic standard; the authors give away a personalized PDF. |
| Understand storage engines and consensus deeply | Database Internals (Alex Petrov) (paid) | How B-trees, LSM-trees, replication and consensus are actually built. |
| Learn architecture trade-offs, not just boxes | Fundamentals of Software Architecture, 2nd ed. (Richards & Ford, 2025) (paid) | Architecture styles, characteristics and decision making. |
| Run systems reliably in production | Site Reliability Engineering (Google) (free online) | SLOs, error budgets, incident response, from the team that named the discipline. |
| Prepare for ML or GenAI design rounds | Machine Learning System Design Interview and Generative AI System Design Interview (ByteByteGo) (paid) | Interview-shaped walkthroughs for ML and LLM systems. |
| Read the original sources | The papers list below (free) | Dynamo, GFS, Bigtable, Spanner, Raft and friends. |
| Learn by building | MIT 6.5840 Distributed Systems (free) | Implement MapReduce and Raft yourself; nothing teaches it better. |
If you only buy one book: Designing Data-Intensive Applications (2nd edition). If you only have two weeks before an interview, read Xu’s Volume 1 instead and come back to DDIA later.
How to use this list
System design knowledge comes in three layers. Most people only study the top one and then struggle when an interviewer or a production incident pushes one level deeper.
| Layer | What it answers | Typical sources |
|---|---|---|
| 1. Interview patterns | “How would you design Twitter, a URL shortener, a chat app?” | Xu, Hello Interview, Acing the System Design Interview |
| 2. Building blocks and trade-offs | “Why a log-structured store here? What happens to reads during a partition? Leader-based or leaderless?” | DDIA, Understanding Distributed Systems, Database Internals |
| 3. Theory and primary sources | “What exactly does linearizability promise? Why is consensus impossible in a fully asynchronous system?” | van Steen & Tanenbaum, Kleppmann’s lecture notes, the papers |
A good rule: for every interview-style design you study, go one layer down on at least one component. If your design uses a message queue, read the Kafka paper. If it uses a distributed cache, read the Facebook memcache paper. That is what separates a memorized answer from a defended one.
How the picks were chosen:
- Recommended repeatedly by practising engineers and in university syllabi, not just by one listicle.
- Still accurate in 2026, or clearly labeled as a classic whose ideas outlived the tools.
- Clear about price. Free means legally free from the owner. No pirated PDFs are linked here, and you should not use them.
The reading roadmap (with time estimates)
Times assume 5-7 hours a week. Halve them if you are studying full time.
Stage 0: Prerequisites (1-3 weeks, skip if comfortable)
You do not need a CS degree, but you will move much faster if you know:
- How HTTP, DNS, TCP and TLS fit together. Free: Computer Networks: A Systems Approach (Peterson & Davie, open online edition).
- Processes, threads, concurrency, file systems and virtual memory. Free: Operating Systems: Three Easy Pieces (Arpaci-Dusseau).
- SQL basics, indexes and transactions. Free: CMU 15-445 Database Systems lecture videos and notes.
Checkpoint: you can explain what happens between typing a URL and seeing a page, including DNS, TCP handshake, TLS, load balancer and database query.
Stage 1: Building blocks (4-6 weeks)
- Read Understanding Distributed Systems cover to cover (fastest) or the first half of Designing Data-Intensive Applications (storage, encoding, replication, sharding).
- Skim the free System Design Primer for vocabulary and diagrams.
Checkpoint: you can explain, without notes, the difference between leader-based, multi-leader and leaderless replication; when to use hash vs range partitioning; and what a write-ahead log is for.
Stage 2: Interview patterns (3-6 weeks)
- System Design Interview Vol. 1, then Vol. 2.
- Practise out loud with the free Hello Interview problem breakdowns.
- Optional second voice: Acing the System Design Interview (Zhiyong Tan).
Checkpoint: you can run a 45-minute design (requirements, estimates, API, data model, high-level design, deep dive, bottlenecks) on a prompt you have not seen before.
Stage 3: Depth (2-4 months)
- Finish DDIA (transactions, consistency and consensus, batch and stream processing).
- Database Internals Part II (distributed systems) or Kleppmann’s free Cambridge lecture notes.
- Read 8-10 papers from the essential list.
Checkpoint: you can explain why “CP vs AP” is an oversimplification, what a fencing token prevents, and how Raft elects a leader and commits a log entry.
Stage 4: Build it (1-3 months, in parallel with Stage 3)
- Do the MIT 6.5840 labs (MapReduce, Raft, fault-tolerant key/value service).
- Or one of the projects below.
Checkpoint: your Raft implementation passes the lab’s tests repeatedly, including the unreliable-network ones.
Stage 5: Architecture and operations (ongoing)
- Fundamentals of Software Architecture and Software Architecture: The Hard Parts for trade-off thinking.
- Site Reliability Engineering and Release It! for what happens after launch.
- Pick a specialty: streaming, ML systems, databases, or platform engineering.
Core books: understanding data systems
Designing Data-Intensive Applications, 2nd edition
Martin Kleppmann and Chris Riccomini, O’Reilly, March 2026 (paid). Book site · Author’s announcement · O’Reilly
The reference book for anyone designing backends. It explains how storage engines, replication, partitioning (sharding), transactions, consistency models, consensus, and batch and stream processing work, always by comparing several real systems rather than teaching one tool. The second edition, co-written with Chris Riccomini, adds coverage of how cloud services change data architecture, and runs to roughly 670 pages.
- Best for: mid-level engineers and up; anyone who wants to understand rather than memorize.
- Read it: slowly, one chapter a week, with notes. Chapters on replication and consistency are the ones interviewers lean on most.
- First edition (2017)? Still excellent and widely available second-hand. If you already own it, read the new edition’s chapters on topics you care about rather than starting over.
Understanding Distributed Systems, 2nd edition
Roberto Vitillo, 2022 (paid). Book site · Amazon
A compact, practitioner-written tour: networking, coordination, scalability, resiliency and maintainability. It covers the same ground as the first half of DDIA in fewer pages and adds production topics such as health checks, timeouts, retries with backoff, circuit breakers, and observability.
- Best for: your first distributed systems book; backend engineers who want practical patterns fast.
- Pair with: DDIA later for depth.
Database Internals
Alex Petrov, O’Reilly, 2019 (paid). Book site · Amazon
Part I is about storage engines: B-trees, their variants, log-structured storage, file formats. Part II covers distributed systems: failure detection, leader election, replication, anti-entropy, distributed transactions and consensus (Paxos, Raft, ZAB). It is the best bridge between DDIA and actually reading database source code.
- Best for: engineers who want to build or tune databases; anyone curious why their database behaves the way it does.
Web Scalability for Startup Engineers
Artur Ejsmont, McGraw-Hill, 2015 (paid). Amazon
Older and lighter than the books above, but very readable. It walks through front-end and web-tier scaling, caching layers, queues and search from the point of view of a growing product. Some tool references are dated; the reasoning is not.
- Best for: developers coming from front-end or small-app backgrounds.
System design interview books
A reminder before this section: these books describe patterns commonly asked in public interview experiences. No book has a company’s official question bank, and you should be suspicious of any resource that claims to.
System Design Interview: An Insider’s Guide, Volume 1
Alex Xu, ByteByteGo, 2020 (paid). ByteByteGo course version
Opens with a reusable four-step framework and back-of-the-envelope estimation, then works through classic prompts: rate limiter, consistent hashing, key-value store, unique ID generator, URL shortener, web crawler, notification system, news feed, chat system, search autocomplete, YouTube, Google Drive. The diagrams are the main attraction.
- Best for: your first interview book.
- Watch out: treat the answers as one reasonable design, not the answer. Interviewers care about how you justify trade-offs.
System Design Interview: An Insider’s Guide, Volume 2
Alex Xu and Sahn Lam, ByteByteGo, 2022 (paid). Amazon
Harder and more varied: proximity service, nearby friends, Google Maps, distributed message queue, metrics monitoring, ad click aggregation, hotel reservation, distributed email, S3-like object storage, real-time leaderboard, payment system, digital wallet, stock exchange. The payment, wallet and exchange chapters are especially good for learning about exactly-once processing, idempotency and reconciliation.
- Best for: senior-level interviews and anyone who found Volume 1 easy.
Acing the System Design Interview
Zhiyong Tan, Manning, 2024 (paid). Manning
More text and more discussion of non-functional requirements than Xu’s books. Part 1 is a solid general primer (scaling, databases, distributed transactions, communication patterns); Part 2 walks through prompts. Useful as a second perspective so you do not over-fit to one author’s style.
Machine Learning System Design Interview
Ali Aminian and Alex Xu, ByteByteGo, 2023 (paid). ByteByteGo course version · Amazon
A seven-step framework applied to recommendation, search, ads ranking, harmful-content detection, people-you-may-know and similar ML products. Covers data, features, model choice, offline and online evaluation, and serving.
Generative AI System Design Interview
Ali Aminian and Hao Sheng, ByteByteGo, 2024 (paid). ByteByteGo course version · Amazon · Publisher announcement
The GenAI companion: LLM-backed chat, retrieval-augmented generation, text-to-image, and other generative products, framed as interview walkthroughs. Pair it with Chip Huyen’s AI Engineering (below) for the engineering depth behind the boxes.
Mobile System Design Interview
Manuel Vicente Vivo, 2023 (paid). Book site
The rare book focused on client-side system design: offline sync, caching, pagination, push, modularization and app architecture. Essential if you interview for iOS or Android roles where “design the Instagram app” means the app, not the backend.
Free interview material that is genuinely good
- Hello Interview: System Design in a Hurry (free core content; paid mock interviews) - concise framework, core concepts and many full problem breakdowns written by former interviewers.
- The System Design Primer (free) - the long-running open-source study guide with Anki decks.
- ByteByteGo System Design 101 (free) - visual explanations of common concepts.
- ByteByteGo on YouTube (free) - short animated explainers.
- Grokking the System Design Interview (paid) - the course that popularized the format; many people still use it.
Distributed systems theory books
Distributed Systems, 4th edition
Maarten van Steen and Andrew S. Tanenbaum (free personalized digital copy; print is paid). Book page
A full university textbook: architectures, processes, communication, naming, coordination, consistency and replication, fault tolerance and security. The authors offer a free personalized digital copy from the book page. Version 4.03 (January 2025) is the latest at the time of review.
- Best for: students, and engineers who want rigorous definitions to back up what they learned from practitioner books.
Cambridge Distributed Systems lecture notes
Martin Kleppmann, University of Cambridge (free). Lecture notes (PDF) · Video lectures
About 8 hours of video and a short set of notes covering models of distributed systems, time and clocks, broadcast, replication, quorums, consensus (Raft), linearizability and eventual consistency (CRDTs). Possibly the best free introduction available, by the author of DDIA.
Distributed Systems for Fun and Profit
Mikito Takada (free). Read online
A short, informal book you can read in an afternoon: scalability, time and order, replication, and weak consistency. Great as a first pass before anything heavier.
Patterns of Distributed Systems
Unmesh Joshi, Addison-Wesley, 2023 (paid book; many patterns free online). Publisher · Free pattern catalog on martinfowler.com
Names and explains the building blocks you see inside Kafka, etcd, Cassandra and ZooKeeper: write-ahead log, segmented log, high-water mark, leader and followers, heartbeat, generation clock, quorum, lease, hybrid clock, and more, with code. Excellent for turning vague ideas into precise vocabulary.
The Datacenter as a Computer, 3rd edition
Luiz André Barroso, Urs Hölzle and Parthasarathy Ranganathan, Springer (Synthesis Lectures), 2018. Springer page
How warehouse-scale computers are designed: hardware, power, cooling, cost and the software that ties them together. Read it to understand why large systems are built the way they are. Check the Springer page for current access options.
Software architecture and microservices books
| Book | Author(s) | Year | Price | Best for |
|---|---|---|---|---|
| Fundamentals of Software Architecture, 2nd ed. | Mark Richards, Neal Ford | 2025 | paid | First architecture book: styles, characteristics, decision records. New chapters include modular monoliths. |
| Software Architecture: The Hard Parts | Ford, Richards, Sadalage, Dehghani | 2021 | paid | Trade-off analysis for distributed architectures: data ownership, sagas, contracts. |
| Building Microservices, 2nd ed. | Sam Newman | 2021 | paid | The standard microservices book; honest about when not to use them. |
| Monolith to Microservices | Sam Newman | 2019 | paid | Migration patterns: strangler fig, branch by abstraction, splitting databases. |
| Microservices Patterns, 2nd ed. | Chris Richardson | in progress at Manning | paid | Sagas, CQRS, event sourcing, API composition. The 1st edition (2018, Java examples) is complete. Free companion site: microservices.io. |
| Learning Domain-Driven Design | Vlad Khononov | 2021 | paid | The most approachable DDD book; bounded contexts and how they shape services. |
| Domain-Driven Design | Eric Evans | 2003 | paid | The original “blue book”. Dense; read Khononov first. |
| Building Evolutionary Architectures, 2nd ed. | Ford, Parsons, Kua, Sadalage | 2022 | paid | Fitness functions and keeping architecture healthy as it changes. |
| Clean Architecture | Robert C. Martin | 2017 | paid | Component boundaries and dependency rules inside one codebase. |
Best pick: Fundamentals of Software Architecture first, then The Hard Parts. Together they teach the habit that matters most in design reviews: stating the trade-off you are accepting.
Data, streaming and event-driven books
| Book | Author(s) | Price | Why read it |
|---|---|---|---|
| Kafka: The Definitive Guide, 2nd ed. | Shapira, Palino, Sivaram, Petty | free from Confluent (registration) / paid print | How a distributed log works and how to run it: partitions, replication, consumer groups, exactly-once semantics. |
| Designing Event-Driven Systems | Ben Stopford | free from Confluent (registration) | Short book on events as the backbone of service architectures. |
| Building Event-Driven Microservices, 2nd ed. | Adam Bellemare | paid (2025) | Event design, data contracts, and integrating event-driven services with existing systems. |
| Streaming Systems (site) | Akidau, Chernyak, Lax | paid | Event time vs processing time, windows, watermarks, triggers. The theory behind Flink, Beam and Dataflow. |
| Fundamentals of Data Engineering | Joe Reis, Matt Housley | paid | The data engineering lifecycle: ingestion, storage, transformation, serving. |
| Database Reliability Engineering | Laine Campbell, Charity Majors | paid | Operating databases: backups, migrations, availability, capacity. |
Reliability, operations and performance books
| Book | Price | Why read it |
|---|---|---|
| Site Reliability Engineering (Beyer, Jones, Petoff, Murphy, eds.) | free online | SLOs, error budgets, toil, on-call, postmortems, load balancing, handling overload and cascading failures. |
| The Site Reliability Workbook | free online | Hands-on follow-up with worked SLO examples. |
| Building Secure and Reliable Systems | free online | Security and reliability as design properties; recovery, least privilege, resilience. |
| Release It!, 2nd ed. (Michael Nygard) | paid | Stability patterns (timeouts, bulkheads, circuit breakers) and anti-patterns, told through real outages. |
| Systems Performance, 2nd ed. (Brendan Gregg) | paid | Methodologies and tools for finding where time actually goes on Linux systems. |
| Software Engineering at Google | free online | How large engineering organizations handle code, testing, dependencies and scale. |
| The Architecture of Open Source Applications | free online | Chapters written by the authors of real systems explaining their designs. |
Best pick: read chapters 21 and 22 of the SRE book (“Handling Overload” and “Addressing Cascading Failures”) before your next design interview. They are free, short, and directly useful in a deep-dive.
ML and AI system design books
| Book | Price | Notes |
|---|---|---|
| Designing Machine Learning Systems (Chip Huyen, 2022) | paid | Data, features, training, deployment, monitoring and continual learning. The standard ML-systems book. Author’s books page. |
| AI Engineering (Chip Huyen, 2025) | paid | Building on foundation models: evaluation, prompt engineering, RAG, agents, fine-tuning, inference optimization and architecture. |
| Machine Learning System Design Interview (Aminian & Xu) | paid | Interview framing; see above. |
| Generative AI System Design Interview (Aminian & Sheng) | paid | Interview framing for LLM products; see above. |
Cloud and Kubernetes design books
| Book | Price | Notes |
|---|---|---|
| Designing Distributed Systems (Brendan Burns) | paid | Container-era patterns: sidecars, ambassadors, sharded and scatter/gather services, work queues, serving patterns for AI. |
| System Design on AWS (Jayanth Kumar, Mandeep Singh, 2024) | paid | Classic system design concepts mapped onto concrete AWS services. |
| AWS Well-Architected Framework | free | Pillars for reviewing cloud designs: operational excellence, security, reliability, performance, cost, sustainability. |
| Azure Architecture Center | free | Cloud design patterns (retry, circuit breaker, CQRS, saga, and many more), reference architectures. Useful even if you never use Azure. |
| Amazon Builders’ Library | free | Essays by Amazon engineers on timeouts, retries, jitter, load shedding, caching and deployment safety. |
Career books for senior and staff engineers
System design interviews at senior levels test judgment and communication as much as architecture.
- The Staff Engineer’s Path (Tanya Reilly, 2022) (paid) - big-picture thinking, project execution, and leading without authority.
- Staff Engineer: Leadership Beyond the Management Track (Will Larson) (paid book; staffeng.com hosts free stories and guides).
Every free book in one table
| Free resource | Format | Level | Topic |
|---|---|---|---|
| Distributed Systems, 4th ed. | personalized PDF | intermediate to advanced | full textbook |
| Cambridge lecture notes | PDF + videos | intermediate | core theory |
| Distributed Systems for Fun and Profit | web | beginner | overview |
| Patterns of Distributed Systems catalog | web | intermediate | implementation patterns |
| Site Reliability Engineering | web | all | operations |
| The SRE Workbook and Building Secure and Reliable Systems | web | intermediate | operations, security |
| Software Engineering at Google | web | all | engineering at scale |
| The Architecture of Open Source Applications | web | intermediate | real designs |
| Kafka: The Definitive Guide, 2nd ed. | PDF (registration) | intermediate | streaming |
| Designing Event-Driven Systems | PDF (registration) | intermediate | event-driven design |
| Computer Networks: A Systems Approach | web | beginner to intermediate | networking |
| Operating Systems: Three Easy Pieces | web/PDF chapters | beginner to intermediate | operating systems |
| The System Design Primer | GitHub | beginner | interview prep |
Head-to-head comparisons
DDIA vs System Design Interview
| DDIA (2nd ed.) | System Design Interview Vol. 1 + 2 | |
|---|---|---|
| Goal | Deep understanding of data systems | Passing the interview |
| Style | Prose, comparisons, references to research | Prompt-by-prompt worked answers, many diagrams |
| Time to read | 2-4 months properly | 3-6 weeks |
| Shelf life | Many years | Good, but answers can feel templated |
| Verdict | Read it for your career | Read it for the next 6 weeks |
Most people benefit from both: Xu to learn the interview shape, DDIA to survive the follow-up questions.
DDIA vs Understanding Distributed Systems
| DDIA | Understanding Distributed Systems | |
|---|---|---|
| Length | ~670 pages | ~350 pages |
| Focus | Data: storage, replication, transactions, processing | Whole backend: networking, coordination, scalability, resiliency, operations |
| Depth | Deeper on data and consistency | Broader on production patterns |
| Pick when | You want the definitive reference | You want a fast, practical first book |
Free textbook vs paid practitioner book
If money is tight, this free stack covers almost everything: Kleppmann’s lecture notes and videos, Distributed Systems (4th ed.), the SRE book, the System Design Primer, Hello Interview’s free content, and the papers list. You lose the polish and the worked interview answers of the paid books, but none of the core ideas.
The essential distributed systems papers
You do not need to read every proof. For each paper, aim to answer: what problem, what key idea, what trade-off, what broke later? All links below are free, from the authors, conferences or the companies that published them.
Tier 1: read these first
| Paper | Year | Key idea |
|---|---|---|
| Time, Clocks, and the Ordering of Events in a Distributed System (Lamport) | 1978 | Happens-before and logical clocks. Everything about ordering starts here. |
| The Google File System | 2003 | Large-file storage on commodity machines with a single master and chunk replicas. |
| MapReduce | 2004 | Simple programming model plus automatic parallelism and fault tolerance. |
| Bigtable | 2006 | Sorted, sparse, distributed map; tablets, SSTables and memtables. |
| Dynamo: Amazon’s Highly Available Key-value Store | 2007 | Leaderless replication, consistent hashing, sloppy quorums, vector clocks. |
| In Search of an Understandable Consensus Algorithm (Raft) (site with visualization) | 2014 | Consensus designed for understandability: leader election, log replication, safety. |
| Kafka: a Distributed Messaging System for Log Processing | 2011 | The partitioned, append-only log as a messaging system. |
Tier 2: once the basics click
| Paper | Year | Key idea |
|---|---|---|
| Paxos Made Simple (Lamport) | 2001 | The classic consensus algorithm in plain(ish) English. |
| Impossibility of Distributed Consensus with One Faulty Process (FLP) | 1985 | Why deterministic consensus cannot be guaranteed in a fully asynchronous system. |
| The Chubby Lock Service | 2006 | A coarse-grained lock service built on Paxos; the ancestor of ZooKeeper and etcd usage patterns. |
| ZooKeeper: Wait-free Coordination for Internet-scale Systems | 2010 | Coordination primitives as a service. |
| Cassandra: A Decentralized Structured Storage System | 2009 | Dynamo-style distribution plus a Bigtable-style data model. |
| Spanner: Google’s Globally-Distributed Database (OSDI talk) | 2012 | External consistency at global scale using TrueTime. |
| Scaling Memcache at Facebook | 2013 | Caching at huge scale: leases, thundering herds, regional consistency. |
| TAO: Facebook’s Distributed Data Store for the Social Graph | 2013 | A read-optimized graph store over MySQL and caches. |
| The Tail at Scale | 2013 | Why p99 latency dominates in fan-out systems, and hedged requests. |
| End-to-End Arguments in System Design | 1984 | Where in a layered system a function should live. |
Tier 3: modern production systems
| Paper | Year | Key idea |
|---|---|---|
| Large-scale Cluster Management at Google with Borg | 2015 | The cluster manager that inspired Kubernetes. |
| Amazon Aurora: Design Considerations for High Throughput Cloud-Native Relational Databases | 2017 | “The log is the database”: pushing redo processing into storage. |
| Zanzibar: Google’s Consistent, Global Authorization System | 2019 | Relationship-based access control at global scale. |
| Amazon DynamoDB: A Scalable, Predictably Performant, and Fully Managed NoSQL Database Service | 2022 | What changed between the 2007 Dynamo paper and a managed cloud database. |
| Dremel: Interactive Analysis of Web-Scale Datasets | 2010 | Columnar nested storage and tree-structured query execution. |
| Conflict-free Replicated Data Types (Shapiro et al.) | 2011 | Data types that merge without coordination. |
Essays that sharpen your thinking
- CAP Twelve Years Later: How the “Rules” Have Changed (Eric Brewer).
- Please stop calling databases CP or AP (Martin Kleppmann).
- Jepsen analyses - real databases tested against their consistency claims. Reading two or three will change how you read vendor documentation.
More reading lists: Dan Creswell’s distributed systems reading list and awesome-distributed-systems.
Free courses and lecture series
| Course | Institution | What you do | Best for |
|---|---|---|---|
| 6.5840 (formerly 6.824) Distributed Systems | MIT | Paper-driven lectures; labs in Go: MapReduce, Raft, fault-tolerant sharded key/value store | The best hands-on course anywhere |
| Distributed Systems lectures | Cambridge (Kleppmann) | ~8 hours of video with notes | A clean, short foundation |
| 15-445/645 Database Systems | CMU | Lectures on storage, indexing, query execution, concurrency control, recovery; BusTub projects in C++ | Database internals |
| COS 418 Distributed Systems | Princeton | Lecture slides and Go assignments | An alternative to MIT’s sequence |
| 15-440 Distributed Systems | CMU (archived) | Lecture material | Extra perspective |
| distsys-class | Kyle Kingsbury (Jepsen) | Outline of a one-day class | A dense checklist of concepts |
| Teach Yourself Computer Science | community guide | Curated path including distributed systems | Filling CS gaps |
Free online guides, blogs and newsletters
Reference sites
- The System Design Primer - concepts, exercises and Anki flashcards.
- System Design 101 - visual explanations.
- awesome-scalability - links to engineering blog posts grouped by topic.
- microservices.io - Chris Richardson’s pattern language.
- Martin Fowler on microservices - essays on boundaries and trade-offs.
- Thoughtworks Technology Radar - opinionated twice-yearly snapshot of techniques and tools.
Blogs worth following
- Marc Brooker’s blog - AWS distinguished engineer on retries, backoff, queues, formal methods and databases.
- Murat Demirbas (Metadata) - paper summaries and distributed systems research.
- The Paper Trail - accessible explanations of consensus and other classics.
- All Things Distributed - Werner Vogels (Amazon CTO).
- High Scalability - long-running archive of architecture write-ups.
- ByteByteGo newsletter - weekly visual explainers (some posts paid).
Study plans
Plan A: Interview in 4 weeks (about 10 hours a week)
| Week | Read | Practise |
|---|---|---|
| 1 | Xu Vol. 1 chapters 1-6 (framework, estimation, rate limiter, consistent hashing, KV store, ID generator); Hello Interview core concepts | Two back-of-the-envelope estimation drills a day |
| 2 | Xu Vol. 1 chapters 7-15 | Design 3 prompts out loud, timed to 45 minutes |
| 3 | Selected Xu Vol. 2 chapters matching your target roles (e.g., payments, message queue, object storage) | 3 more prompts; record yourself and review |
| 4 | DDIA chapters on replication and partitioning (skim); SRE chapters on overload and cascading failures | 3 mock interviews with peers; fix the weakest phase of your framework |
Plan B: From backend developer to system designer (3 months)
| Month | Focus | Output |
|---|---|---|
| 1 | Understanding Distributed Systems + Kleppmann lectures | One-page summary per chapter |
| 2 | DDIA chapters 1-6 + Tier 1 papers | Write a design doc for a system you use at work |
| 3 | DDIA remaining chapters + Xu Vol. 1 | Present one design to colleagues and defend the trade-offs |
Plan C: Distributed systems deep dive (6 months)
- Kleppmann lectures and notes (2 weeks).
- MIT 6.5840 lectures and labs alongside the assigned papers (3 months).
- Database Internals Part II and Distributed Systems (van Steen & Tanenbaum) chapters on consistency and fault tolerance (1 month).
- Tier 2 and Tier 3 papers plus five Jepsen analyses (1 month).
- Write a blog post explaining one algorithm you implemented. Teaching it is the final exam.
Projects and exercises
Projects beat passive reading. Each of these maps to chapters in the books above.
| Project | Difficulty | What it teaches | Related reading |
|---|---|---|---|
| URL shortener with analytics | Beginner | Key generation, caching, read-heavy scaling | Xu Vol. 1 |
| Token-bucket rate limiter as a library and as a shared Redis-backed service | Beginner | Algorithms, atomicity, distributed counters | Xu Vol. 1; Amazon Builders’ Library |
| Log-structured key-value store (append log + in-memory index + compaction) | Intermediate | Storage engines, crash recovery | DDIA ch. on storage; Database Internals Part I |
| Consistent-hashing ring with virtual nodes and a rebalancing simulator | Intermediate | Partitioning and data movement | Dynamo paper; DDIA partitioning chapter |
| Replicated KV store with leader-follower replication and failover | Intermediate | Replication lag, split brain, fencing | DDIA replication chapter |
| Raft implementation (MIT 6.5840 labs) | Advanced | Consensus, testing under unreliable networks | Raft paper |
| Event-sourced order service with sagas | Advanced | Event-driven design, idempotency, compensation | Microservices Patterns; Building Event-Driven Microservices |
| Chaos test your own service: inject latency, drop packets, kill nodes | Advanced | Resilience patterns, observability | Release It!; SRE book |
Design-doc exercise. For three prompts (chat app, news feed, file storage), write a two-page design doc with: requirements and non-goals; capacity estimate; API; data model; architecture diagram; two alternatives you rejected and why; failure modes and how you detect them. Swap docs with a friend and review each other’s.
Estimation drill. Memorize approximate latency orders of magnitude (memory reference vs SSD read vs same-datacenter round trip vs cross-continent round trip) and practise turning “100M daily users” into requests per second, storage per year and bandwidth. Do five a day for a week; it becomes automatic.
Concept checklist
Tick these off as you read. If you cannot explain one in two minutes to a colleague, revisit the matching chapter.
Scaling and data
- Vertical vs horizontal scaling; stateless services
- Load balancing (L4 vs L7), health checks
- Caching strategies (cache-aside, write-through, write-back), eviction, invalidation, stampedes
- CDNs and edge caching
- SQL vs NoSQL data models; when each fits
- Indexes: B-trees vs LSM-trees
- Partitioning: hash, range, consistent hashing, hot spots
- Replication: single-leader, multi-leader, leaderless; quorums
Consistency and correctness
- ACID, isolation levels, write skew
- Linearizability vs serializability vs eventual consistency
- CAP and PACELC, and their limits
- Logical clocks, vector clocks, hybrid logical clocks
- Consensus (Raft/Paxos) and what it is used for
- Distributed transactions: two-phase commit, sagas, outbox pattern
- Idempotency keys and exactly-once effects
Communication and resilience
- REST vs gRPC vs GraphQL; WebSockets and server-sent events
- Message queues vs logs; delivery semantics; consumer groups
- Timeouts, retries with exponential backoff and jitter
- Circuit breakers, bulkheads, load shedding, backpressure
- Rate limiting algorithms
Operations
- SLIs, SLOs and error budgets
- Metrics, logs and traces
- Deployment strategies: blue-green, canary, feature flags
- Back-of-the-envelope capacity estimation
FAQ
What is the best book for system design? Designing Data-Intensive Applications (2nd edition, 2026) for understanding; System Design Interview by Alex Xu for interview preparation. Most engineers end up reading both.
Is Designing Data-Intensive Applications good for system design interviews? Yes, but indirectly. It will not hand you answers to “design YouTube”, but it gives you the knowledge to defend your choices in the deep-dive part of the interview, which is where senior candidates are usually separated.
Should I buy the 1st or 2nd edition of DDIA? Buy the 2nd edition (March 2026) if you are buying new. The fundamentals in the 1st edition remain correct, so a used copy is still a good deal if budget matters.
Is Alex Xu’s System Design Interview worth it? For interview preparation, yes. Its strength is clear diagrams and a repeatable framework. Its weakness is that answers can become templates; practise adapting them out loud.
Which is better, Volume 1 or Volume 2? Start with Volume 1. It contains the foundations (estimation, consistent hashing, key-value store) that Volume 2 assumes.
Are there free system design books? Yes: Distributed Systems (4th ed.) by van Steen and Tanenbaum (free personalized digital copy), Kleppmann’s Cambridge lecture notes, Distributed Systems for Fun and Profit, Google’s three SRE books, Software Engineering at Google, and Confluent’s free Kafka and event-driven books. See the free table.
How long does it take to learn system design? Roughly 4-8 weeks of focused study to be interview-ready if you already build backend software. Being genuinely good at it takes years of designing, operating and debugging real systems; the books shorten that, they do not replace it.
Do I need to read research papers? Not for most interviews. But reading five or six of the Tier 1 papers gives you concrete, citable examples (“Dynamo used sloppy quorums for this reason”) and makes the textbooks much easier.
What should a beginner read first? Understanding Distributed Systems or the free Distributed Systems for Fun and Profit, plus the System Design Primer. Then Xu Volume 1.
What about frontend or mobile system design? Read Mobile System Design Interview for apps. For web front-end design rounds, focus on rendering strategies, state management, caching, pagination, accessibility and performance budgets; most backend books will not cover those.
Do system design books cover AI and LLM systems? DDIA’s second edition touches on it; Chip Huyen’s AI Engineering and ByteByteGo’s Generative AI System Design Interview cover it directly.
Where to go next
- Implement something: MIT 6.5840 labs are the gold standard.
- Read postmortems: public incident reports from cloud providers teach failure modes no book can.
- Read source code of a system you use: etcd (Raft), SQLite (storage), Redis (data structures and replication).
- Write design docs at work and ask for hard reviews.
- Related Ralpberry Labs resources: Top 100 Open Source and the rest of the collection.
Contributing
Suggestions are welcome. Please open an issue or pull request if you find:
- a broken or outdated link, or a new edition;
- a book, paper or free course that clearly belongs here (include why, who it is for, and whether it is free or paid);
- a factual error.
Rules: only legally free resources in the free sections (author, publisher or university hosted); no affiliate links; no “leaked” interview material; write descriptions in your own words.
License
Content is licensed under CC BY 4.0. You may share and adapt it with attribution.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.