Skip to content

Multiple event stores in modular monolith? #1490

Answered by einari
boom-morten asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for very late reply on this, it completely flew under the radar.

The default configuration of Chronicle is as you say to hook up the IoC for IEventStore and such for one EventStore type of scenario. In a way assuming you will divide your modules into separate processes.

As a general rule of thumb, I would say that separating out per module is a good idea as it then enables you to in practice also in the future to run them as separate processes / containers if one wants. What we tend to think is a good idea is to start by identifying the boundaries and DDDs bounded context is what we lean towards to guide us.

That being said, decoupling at a module level introduces new complexities i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Petteroe
Comment options

@einari
Comment options

Answer selected by woksin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants