Reputation: 220
New day, new Axon question. Today I want to ask about the Axon Saga process. What is the best practise to use Axon Saga between microservices?
Upvotes: 0
Views: 640
Reputation: 7275
When working with messages like a Saga does, I would always embrace the fact you are living in an asynchronous world. However, you could just as well found the perfect use case which points you to requiring your set up to be synchronous.
To be honest, the Master/Follower (the term "Slave" is not overly kind to use I think) process example does not make it to clear what you are trying to achieve. But regardless, your set-up will be faster to respond and more lenient if you expect things to be asynchronous, so I would lean towards this.
It however always depends on the exact use case of the issue. So I would not make this a "best practice" response, since as said it depends on a per use case basis.
Upvotes: 1