-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do we need ProcessManager / Saga in the first implementation? #8
Comments
Related to this discussion #3 (comment) |
I don't think that we'd need any specific support for this as ProcessManagers can be modeled just like aggregates AFAIK. |
I'm also against implementing them at this point. Especially long running (persisted) process managers are tricky. I think the difference between a process manager and an aggregate is that the latter actually issues commands and waits for resulting events from other aggregates. But I'm not completely into that topic. |
Exactly my gut feeling but I also haven't really worked with them yet. BTW: My point was not that PM == AR (even though that could be argued) but that we can use the already existing mechanics for those |
Chatting about this in the #guild-cqrs channel I realized that there is a missing mechanism in order to work with PMs (it's not exactly related to PM/Saga but something we'd need anyways IMO): |
So one thing I found is that there is some difference between the A ProcessManager for me just defines a reaction (normally a new Also in most writing one finds about this concept, a ProcessManager dispatches a new So a ProcessManager signature for me looks like: On the implementation side, it would just be an What do you think? Is this a reasonable concept of a ProcessManager or am I trying to make the ProcessManager something that it isn't? |
Just a bookmark issue, to not forget this ;)
Personally I hate Saga, and ProcessManager describe more clearly what it is. I think that we can avoid the concept in the first implementation, but at some point I feel that we will need something in the area.
The text was updated successfully, but these errors were encountered: