Search the practice set
126 questions, 454 terms and 400 topics in 20 areas.
8 results for “Saga”
Saga
A sequence of local transactions across services where each step has a compensating action that semantically undoes it if a later step fails.
Saga Orchestrator
A component that explicitly drives a saga's steps and compensations, holding the flow in one place rather than distributing it across event subscriptions.
Compensating Transaction
A business operation that semantically undoes a previously committed step — not a rollback, because the original effect was visible and may not be fully reversible.
Pivot Transaction
The step in a saga after which the transaction can no longer be cancelled — everything before it is compensatable, everything after it is retriable until it succeeds.
In an order saga, the shipment service permanently rejects an order after the card has been captured. What now?
What this actually is A step after the pivot has failed permanently , which is the case saga design is supposed to make rare and cannot make impossible. Everyth
Placing an order must reserve stock, charge the card and create a shipment across three services. Design it, and justify why not a distributed transaction.
First: question the boundary A transaction spanning three services often means one invariant has been split across three owners. Before designing a protocol, ch