Core Properties
Every system is judged on a handful of properties, and almost every design argument is about one of them. They have names that are used loosely: a system is “scalable”, “reliable”, “highly available”, “consistent”. This module gives each one a precise meaning, so that you can state it as a number, check it, and notice when two people mean different things by the same word.
You will scale a system until a different component gives way, kill instances and watch the share of requests served, sort statements into reliability, resilience and fault tolerance, work out how much recent data a design can lose, and tell three kinds of consistency apart. There is a “what happens if” moment in every lesson.
The lessons
Section titled “The lessons”- Scalability (16 min). How a system copes as load grows, and why adding instances stops helping when something else is the limit.
- Availability and the nines (20 min). What each nine allows, how to compute availability, and why spare capacity matters more than the number of copies.
- Reliability, resilience and fault tolerance (16 min). Four words that are used as one, faults versus failures, and where spares stop paying off.
- Durability (16 min). When a write is durable, what each protection covers, and what eleven nines does not say.
- Consistency (18 min). One word, three guarantees: ACID, linearizability and eventual consistency.
- Recap and quiz (12 min). The module in one page, a checklist for stating each property as a number, and a quiz.
What you will be able to do
Section titled “What you will be able to do”- Find the bottleneck of a system, and predict the next one before adding capacity.
- Compute the downtime that an availability target allows, and the availability of a chain with copies.
- Say what question reliability, availability, fault tolerance and resilience each answer.
- Say which failures a design’s data survives and which it does not.
- Name which kind of consistency is meant, and what a reader may see.
All the numbers in the labs and calculators are illustrative. They are for comparing choices, not for forecasting any real product.
Built by GhaziAlibi.
© ShardCraft. All rights reserved.