Core Properties: recap and quiz
The module in five sentences
Section titled “The module in five sentences”- Scalability. Scalability is how a system copes as load grows and what it costs to keep up, the component with the highest utilisation sets its capacity, and adding capacity anywhere else changes little.
- Availability. Availability is the share of time or requests that a system is there when asked, each nine cuts the allowed downtime by ten, and spare capacity, not the number of copies, decides how many failures it survives.
- Reliability, resilience and fault tolerance. These ask different questions (is it right, how does it recover, does one break stop it), faults must be stopped from becoming failures, and a spare that has silently failed leaves the system one fault from failing.
- Durability. Durability is whether data survives the failures it was meant to survive, a write is durable only once it is in enough independent places, and only something that keeps the past protects against a mistake.
- Consistency. Consistency means the data obeys its rules (ACID), the system behaves like one up-to-date copy (linearizability), or copies converge when writes stop (eventual consistency), and these are different guarantees.
How each one is misunderstood
Section titled “How each one is misunderstood”| Property | The common mistake | The correction |
|---|---|---|
| Scalability | “It is scalable” as if it were a label | Name the load parameter and the range, and look for the next bottleneck |
| Availability | Counting copies instead of capacity | Check whether the load fits on what is left after the loss you want to survive |
| Reliability and resilience | Using one word for four properties | Ask which question is being asked: right, there, absorbed, or recovered |
| Durability | Mixing it up with availability, or trusting a replica to protect against a mistake | Data that is unreachable is not lost, and a replica copies a deletion |
| Consistency | Treating the C of ACID and the C of CAP as the same | Ask whether the rules of the data are meant, or whether copies agree |
A checklist: state it as a number
Section titled “A checklist: state it as a number”A requirement such as “highly available” or “consistent” cannot be tested. For each property, ask for the number.
- Scalability: what is the load parameter, and what range must it cover? (For example, 40,000 requests per second, and ten times that in two years.) What must latency be at the top of the range?
- Availability: what share of requests or time, over which period? What does that allow in downtime? (The nines)
- Fault tolerance: how many components may fail without a failure, and what is the unit of failure? Are faults detected and repaired?
- Resilience: how fast must it recover, and from what? (The MTTR, the RTO.)
- Durability: which failures must data survive, and how much recent data may be lost, which is the RPO? Has a restore been rehearsed?
- Consistency: which guarantee does each piece of data need? Can a reader see an old value, and for how long?
Check your understanding
Section titled “Check your understanding”Seven questions cover the whole module. Every option is explained, whether it is right or wrong.
Core Properties: module quiz
This quiz needs JavaScript to check your answers.
Where this goes next
Section titled “Where this goes next”The next module, Performance, is about speed rather than survival: latency, throughput, percentiles, and what happens as a system gets busy. You have already seen the beginning of it in this module: as the API approached its limit, latency rose, and the lab’s numbers explain why. The next module shows the curve behind it.
Your progress
Built by GhaziAlibi.
© ShardCraft. All rights reserved.