(no title)
fortunaTemporal | 2 years ago
Generally, that's a good way of thinking about it. The one additional bit of nuance is it's like a "safe" stack unwind while other processes could be still modifying databases at the same time, so it's not a complete "rollback" of the whole world if that makes sense.
agumonkey|2 years ago
fortunaTemporal|2 years ago
Also related: Signals are events that you can send to Workflows and between Workflows, and they’re always delivered in the order they’re received.
More generally, for a handy reference of Distributed Systems patterns, check out https://microservices.io/patterns/data/saga.html (though I personally find his diagrams a bit...overwhelming) and the MSN writeups: https://learn.microsoft.com/en-us/azure/architecture/pattern...