Like signing multiple contracts in sequence — each one reversible if something later goes wrong.
Each service call executes one local transaction. After each success, register a compensating transaction.
> step 1: inventoryService.reserve() → success ✅ > step 2: paymentService.charge() → success ✅ > step 3: shippingService.create() → ...
Like signing multiple contracts in sequence — each one reversible if something later goes wrong.
Each service call executes one local transaction. After each success, register a compensating transaction.
> step 1: inventoryService.reserve() → success ✅ > step 2: paymentService.charge() → success ✅ > step 3: shippingService.create() → ...
Sign in to cast your vote
Sign in to share your feedback and join the discussion.