Part 2 of 18
Foundations
10 pages · 10 written
- 1.Requirements Gathering: From Problem Statement to ScopeBasic
Turn a vague prompt into a short, prioritised list of functional and non-functional requirements, with clear assumptions, before drawing anything.
- 2.Non-Functional Requirements and How They Drive DesignIntermediate
The quality goals (scale, latency, availability, consistency, durability, security, cost) that shape an architecture, and how to quantify them as SLOs.
- 3.Back-of-the-Envelope EstimationBasic
Quick, rounded math for QPS, storage, bandwidth, cache size and server count, so you know which parts of a design actually need to scale.
- 4.Numbers Every Engineer Should KnowBasic
One table of approximate latency, hardware and per-component capacity numbers, plus downtime per nine, to sanity-check any design.
- 5.Latency, Throughput and Performance vs ScalabilityBasic
Latency, throughput, bandwidth, percentiles, Little's law and queueing, plus the practical ways to make requests and APIs faster.
- 6.Vertical vs Horizontal Scaling and Stateless DesignBasic
Scale up with a bigger machine or out with more machines, why stateless services make scaling out easy, where state should live, and how to avoid SPOFs.
- 7.Availability, Reliability and Fault ToleranceIntermediate
Availability vs reliability vs durability, nines and downtime budgets, series and parallel availability math, failover models, MTBF/MTTR and removing SPOFs.
- 8.CAP Theorem and PACELCIntermediate
What consistency, availability and partition tolerance really mean, why a partition forces a choice, PACELC's latency trade-off, and how to choose per feature.
- 9.Consistency ModelsAdvanced
From linearizability to eventual and weak consistency: session guarantees, BASE vs ACID, reconciliation patterns, and how databases expose each model.
- 10.Core System Design Trade-offsIntermediate
The recurring trade-offs in system design, each with when to pick which side, plus a simple way to present any trade-off in a design review or interview.