Aggregates and Consistency in CQRS and Event Sourcing
Often when we work with data we should think about consistency. A lot of articles, especcially in relational databases world say - ‘data should be consistent’, from the other hand a lot of modern approaches say - `eventual consistency is good trade off’. Sometimes it’s not clear how to find good balance, especially when you come from relational database world, where you think in terms of Transaction. In this article i will describe some the questions (and answers) about consistency we faced in the design process of application within CQRS + Event Sourcing approach.