Govur University Logo
--> --> --> -->
...

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....

Log in to view the answer



Redundant Elements