Skip to content

Core Properties: recap and quiz

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
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 requirement such as “highly available” or “consistent” cannot be tested. For each property, ask for the number.

  1. 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?
  2. Availability: what share of requests or time, over which period? What does that allow in downtime? (The nines)
  3. Fault tolerance: how many components may fail without a failure, and what is the unit of failure? Are faults detected and repaired?
  4. Resilience: how fast must it recover, and from what? (The MTTR, the RTO.)
  5. Durability: which failures must data survive, and how much recent data may be lost, which is the RPO? Has a restore been rehearsed?
  6. Consistency: which guarantee does each piece of data need? Can a reader see an old value, and for how long?

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.

Question 1 of 7

Over a 365-day year, a service was down for a total of 52.6 minutes.

What was its availability, as a percentage?

Enter a number and choose its unit.

%
Question 2 of 7

A service fails on average once every 500 hours (its mean time between failures). When it fails, it takes on average 30 minutes to recover (its mean time to recover).

What is its availability, as a percentage?

Enter a number and choose its unit.

%
Question 3 of 7

Traffic doubles. The team doubles the number of API instances, but errors barely change, and the database is at 228% of its capacity.

What does this show?

Choose one answer.

Question 4 of 7

Which statements about faults and failures are correct?

Choose every answer that applies.

Question 5 of 7

A network problem makes a database unreachable for 20 minutes. When it ends, nothing is missing: every confirmed write is there.

Which property was affected?

Choose one answer.

Question 6 of 7

A bank database refuses any transaction that would leave an account below zero.

Which kind of consistency is that?

Choose one answer.

Question 7 of 7

What does eventual consistency promise?

Choose one answer.

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.