When implementing the Saga pattern for distributed transactions across microservices, what is the mandatory mechanism used to undo changes if a step in the transaction chain fails?
The mandatory mechanism used to undo changes in a Saga pattern is the compensating transaction. In a distributed system, a long-running transaction is broken into a sequence of smaller local transactions, where each microservice performs its own work and commits its data to its local database immediately. Beca....
Community Answers
Sign in to open profiles and full community answers.
Bagas Griyatama
“Compensating Transaction”
1.0%