News for hackers. Stuff that matters.
Re: by silon42 on Thursday August 31, 2023 @02:42AM (#37333327)
This what basically what a Saga is... a process that uses custom protocols to resolve the state of multiple entities to a consistent valid state.

Sure, avoid Sagas when possible (use a DB transaction if you can merge microservices), but when you aren't setting system boundaries (aka your world isn't a single system supporting XA everwhere), the Saga is a completely valid and necessary mechanism.

There are no comments on this comment yet.