3 ms·
The real business world is not atomic. The idea is to keep track of things that you've done, and do compensating things to roll their effect back if something g
by mh8h 7y ago
The real business world is not atomic. The idea is to keep track of things that you've done, and do compensating things to roll their effect back if something goes wrong. See the Saga pattern for an example. I also found Gregor Hohpe's blog post [0] titled "Starbucks Does Not Use Two-Phase Commit" very informative.
[0] https://www.enterpriseintegrationpatterns.com/ramblings/18_starbucks.html https://www.enterpriseintegrationpatterns.com/ramblings/18_s...
- voldybot 7y agogood read. ... thanks