Hello,
We’re using Axon 2.4 with ActiveMQ along with a JPA store and it’s working really well for us. However, we’ve stopped using sagas because we had concurrency issues with our multi-node deployment. The exact scenario is outlined as under:
- A saga is started in response to an event
- Multiple events for the same saga instance get fired
- The saga event listeners for these get fired and cause the saga to be loaded on multiple nodes
- One of the nodes fails updating the saga due to a optimistic lock exception
This would cause sagas to never complete. For this reason, we suspended the use of sagas altogether. Although this might seem a bit extreme, it was primarily because it was hard to predict in advance that saga events may not happen concurrently. Is this something that will be addressed with Axon 3.0 client pull model?
Thanks!
Prem