Projections in Event Sourcing are a way to derive 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 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 current state and keep it updated as events occur.

πŸ”” Subscribe:

πŸ’₯ Join this channel to get access to source code, demos, and slides!

πŸ“ Blog:

πŸ“š Book Recommendations

Domain-Driven Design

Patterns of Enterprise Application Architecture

Refactoring: Improving the Design of Existing Code

Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith

RESTful Web Clients: Enabling Reuse Through Hypermedia

0:00 Intro
1:23 Projections Explained
4:01 Publish/Subscribe
6:42 Code Implementation Example


#eventsourcing #softwarearchitecture #softwaredesign

#eventsourcing #softwarearchitecture #softwaredesign

Projections in Event Sourcing: Build ANY model you want!
1.45 GEEK