In this lesson · topic 3 of 7
Topic 3
Fail steps and watch readers see the middle
8 min read
What the lab runs
Two sagas start each tick. Each step fails with the chance you set. A failed saga compensates in reverse, and an undo can fail and be retried. Six times a tick, a reader looks at a random saga in flight and sees whatever its finished steps have changed.
Messages are counted too. Orchestration sends a command and gets a reply for each action. Choreography sends one event.
Predict before you press play
Things to try
- Raise the steps to 8 and read the committed share.
- Switch between orchestration and choreography and read messages per saga.
- With isolation off, read how many reads saw work that was later undone.
- Turn on the semantic lock and read the same line.
- Set undo failure to 50 percent and read the parked count.
The full-page lab has a guided experiment for each of these.