4 ms·
https://microservices.io/patterns/data/transactional-outbox.html https://microservices.io/patterns/data/transactional-outbox.... It allows you to wrap it all i
by CubsFan1060 3y ago
https://microservices.io/patterns/data/transactional-outbox.html https://microservices.io/patterns/data/transactional-outbox....
It allows you to wrap it all in a transaction. If you separate a database update and insertion into a queue, whichever happens second may fail, while the first succeeds.
- illusive4080 3y agoTell the alternative is a saga pattern to implement a distributed two phase commit. Or actual XA, but that is cursed.