Distributed

Lesson 10.4

Load & failure testing

Load and failure testing applies representative demand and controlled faults while checking explicit correctness, availability, and recovery invariants against a known steady state.

A database failover lands during peak checkout

Ava and Ben run a busy cookie sale. They safely switch off one database copy and check that no order is charged twice or lost.

In this lesson you'll

  1. 1Follow one run and learn how to read the picture
  2. 2Predict what changes before revealing the result
  3. 3Compare the practices and help Ava get every accepted order kept exactly once