Projections in Event Sourcing: Build ANY model you want!
Projections in Event Sourcing are a way to derive the current state from an event stream. This can be done asynchronously as events are persisted to an event stream which can update a projection. You don’t need to replay all the events in an event stream to get to the current state for a UI every time you need to display data. This could be very inefficient if you have a lot of events in a stream. Rather, create a projection that represents the current state and keep it updated as events occur. YouTube Check out my YouTube channel where I post… Read More »Projections in Event Sourcing: Build ANY model you want!