sganslandt / healthcheck-watcher

2 stars 0 forks source link

Separate command handling from state transitions #8

Closed sganslandt closed 9 years ago

sganslandt commented 9 years ago

Coming from CQRS, even though you're not doing event sourcing this is a really helpful pattern to keep the complexity of the units down.

Also configure the async event bus to be single threaded to get a simpler model to think about when dealing with state changes.