System decomposition · demo 14 · 21
Orchestrated saga or choreography: the same transfer
A transfer in several steps, over several services, without a common transaction. On the left, an orchestrator conducts it, step after step; on the right, nobody does: each service reacts to the others' events.
Reduced motion: the scene is paused; use "Step" or "Play".
What to watch
- No failure: both sides reach the same result. On the left, the process is written in one place (the list of steps); on the right, it is written nowhere, it emerges from the subscriptions.
- Compliance refuses: the orchestrator compensates (
ReleaseFunds); in the choreography, Accounts releases the funds by reacting toComplianceRefused. - Exchange down: the orchestrator retries 4 times then compensates at once. In the choreography, nobody waits for the answer: 4 deliveries, dead letters, and the transfer stays "in progress", funds reserved, until the reservation expires 30 s later (switch to 4× to see it).