System DesignPatterns
Distributed systems · Data · ML · AI20 parts · 169 chapters · English + 日本語
Mechanism-level reasoning for distributed, data, ML, and AI systems. Every chapter is written as a production contract: the invariant, the arithmetic behind it, and the evidence that defends it.
Start with your question
Is this data still correct under concurrent writes?Transactions, isolation levels, replication and conflict resolution, traced through the interleavings that break each guarantee.What gives way first when the load grows?Cache economics, invalidation races, partitioning and edge delivery, with the capacity arithmetic behind every choice.How does work survive past the request?Queues, worker pools, durable execution, commit protocols for retries and idempotency, leases and recovery.How do you find the right thing quickly?Inverted indexes, lexical query execution, vector retrieval, ranking, and typeahead under real traffic.How do models and agents reach production?Feature stores, GPU inference, serving, offline and online evaluation, retrieval, and platforms for coding agents.Is this design ready to be signed off?Design documents and ADRs, review governance, supply-chain risk, verification strategy, and lawful retention.
The whole edition
- 01Foundations9 chapters
- 02Distributed Databases10 chapters
- 03Storage Engines8 chapters
- 04Caching4 chapters
- 05Messaging8 chapters
- 06Scaling14 chapters
- 07Real-Time4 chapters
- 08Case Studies13 chapters
- 09Whitepapers15 chapters
- 10Security8 chapters
- 11Observability and Operations9 chapters
- 12Service Connectivity and APIs4 chapters
- 13Data Pipelines4 chapters
- 14Search Systems5 chapters
- 15Deployment7 chapters
- 16ML Systems15 chapters
- 17LLM Systems12 chapters
- 18Workflow & Job Systems9 chapters
- 19Engineering Systems for Coding Agents6 chapters
- 20Production Readiness and Governance5 chapters
Parts are grouped by role rather than difficulty. Every chapter opens with a TL;DR and closes with three to eight curated neighbours, so any page can be the first one you open.