Skip to content
Ameen Abozaid
Planned lessonSRA-017-L07

Demo: a review that finds a data-loss risk through questions alone

  • Lesson 7 of 7
  • Senior A
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

run a worked review in which questions lead the team to find the data-loss risk; prepares SRA-017-LAB1.

Draft outline details

Step by step

  1. The design: an order service writes to its database and then publishes an event; consumers update inventory.
  2. Ask: "what happens if the write succeeds and the process crashes before the publish?"
  3. Ask: "how would inventory know?" and "how would we find the lost event?"
  4. Planned mistake: announce "you need the outbox pattern" at the start. Fix: wait for the team's own conclusion and then confirm and discuss options.
  5. Record the finding as blocking, with the team's chosen fix and a re-review point.

Demonstration

a timeline of the failure: write committed, crash, no event, inventory never reserves.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.