Considerations
● Distributed Transactions that required to visit several microservices ?
● Consistency across multiple microservices ?
● Rollback transaction and run compensating steps ?
Problems
● Distributed Transaction Management
● Rollback Transaction on Distributed Environment
● Run Compensate Steps if one of service fail
Solutions
● Microservices Distributed Transaction Management
Pattern and Best Practices
● Saga Pattern for Distributed Transactions
● Transactional Outbox Pattern
● Compensating Transaction pattern
● CDC - Change Data Capture
https://zongwb.medium.com/distributed-transactions-in-a-microservice-architecture-271ec1cb235