Patterns 0/12

Lesson 10 of 12

Sagas

Run a multi-service workflow as local steps with compensations, orchestrated or choreographed.

1,186 words · 6 min read Ultra Premium Useful background: Transactions and isolation, Idempotency keys

In this lesson

  1. Local transactions
  2. Forward and backward
  3. Orchestrate or choreograph
  4. Fail and compensate
  5. Orchestrator state machine
  6. What stays true
  7. Costs and tradeoffs
  8. Common mistakes
  9. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 12 premium lessons in Patterns, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure