Two phase commit
A way to make several services commit together: all vote, then all commit. It's correct, but everyone waits for everyone.
See it in action
These lessons put two phase commit to work. Read one, then play it and watch what happens without it.
- One order, many services: An order touches payments, stock and delivery, and each has its own database. The card was charged, then the stockā¦