Technology · Ebook
System Design: Scaling, Trade-offs, and Real Architectures
by Shriira Press
System design is the craft of arranging servers, databases, caches, and queues so a system meets its goals under real-world load — and it lives or dies on trade-offs. This free book teaches the whole toolkit from first principles: requirements and estimation, horizontal scaling and statelessness, load balancing, caching strategies and invalidation, SQL vs NoSQL with replication and sharding, the CAP theorem and consistency, message queues and asynchronous processing, API design and microservices, and reliability with redundancy and graceful degradation. It ends by walking a complete design end to end. Ten focused chapters with clear diagrams and a repeatable method — clarify, estimate, sketch, scale, justify — that lets you reason about almost any system.
Contents
- 1Preface
- 2Chapter 1 — What System Design Is
- 3Chapter 2 — Scalability
- 4Chapter 3 — Load Balancing
- 5Chapter 4 — Caching
- 6Chapter 5 — Databases
- 7Chapter 6 — Consistency and the CAP Theorem
- 8Chapter 7 — Asynchronous Processing and Message Queues
- 9Chapter 8 — APIs and Communication
- 10Chapter 9 — Reliability and Availability
- 11Chapter 10 — Putting It Together
