Transactions in distributed architectures are hard! Using the Saga pattern, we can manage data consistency across microservices using a sequence of transactions in each service to trigger distributed transactions. — In a microservices architecture, we may adopt a database-per-microservice approach to let each domain service us a data store that best serves the type of data that microservices uses. With a database-per-microservice approach, we can scale out our data stores independently, and should our data store fail, that failure will…