Event Sourcing: Aggregates vs Projections

One of the topics that came up a few times (and I noticed quite a number of searches for it) is how the Aggregates and Projections differ or relate to each other. The reason for this confusion is that some parts of the implementation logic are very similar - in particular, the current state of an Aggregate derived from the event log. In this blog post, we will explore the differences and look at some examples.

Read more

Event Sourcing patterns: Replay side effect handling

During the event stream processing sometimes it is desired to perform side effects. The challenge we address in this post is how to perform a replay of an event stream and don't retrigger already performed side effects. It turns out there are a couple of alternatives that can help us solve this problem and the specific solution will depend on needs and the type of event store in use.

Read more