Microservices, Eventual Consistency, Two Phase Commit, Distributed Transaction.
transaction can roll back, both the order and items reserved. This is known as ACID (Atomicity, Consistency, Isolation, Durability), which is guaranteed by the database system. Here is the e-commerce system decomposed as microservices: image 2: Transactions in a microservice When we decompose this