Database · Hard
What is the Saga pattern? Compare choreography and orchestration.
DatabaseTransactionsStaffDistributed Systems
Answer preview
A saga implements a business transaction that spans multiple services as a sequence of local ACID transactions, each publishing an event that triggers the next step. There is no global rollback — if a step fails, previously completed steps are undone by explicit compensating tran…