4 ms·
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 S
by silon42 3y ago
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.