It coordinates by breaking a transaction into smaller steps, each managed by different services.
The Saga pattern manages long-running transactions by dividing them into a sequence of steps, each handled by a microservice. If one step fails, compensating transactions are executed to undo previous steps. For instance, in an e-commerce system, if a payment fails, a compensating transaction might reverse the inventory reservation.
Additional Notes
How does a Saga pattern coordinate distributed transactions?