Software Design

Saga Choreography: Event-Driven Compensations

UML Sequence Diagrams · made in Skemio

Sequence diagram of Saga Choreography showing event-driven rollback: PaymentFailed event consumed by Inventory and Order services to trigger compensations.
Sequence diagram of Saga Choreography showing event-driven rollback: PaymentFailed event consumed by Inventory and Order services to trigger compensations.

What it shows

  • Services communicate purely through domain events over a message broker.
  • Failure events trigger upstream listeners to execute local compensations.
  • Eliminates orchestrator bottleneck but makes system tracing much harder.

The takeaway

Choreography provides loose coupling, but requires mature event tracing to monitor rollbacks.

More uml sequence diagrams