Saga Pattern vs Two-Phase Commit — Why Distributed Transactions Fail Differently
1️⃣ The Incident That Changed My Mind
We had a “simple” flow:
Create order
Reserve inventory
Charge payment
It worked perfectly… until traffic spiked.
Then:
One service slowed
Another timed out
The whole system froze
Nothing crashed.Everyth...
vibhorgupta.hashnode.dev3 min read