Projections in Event Sourcing: Build ANY model you want!

Описание к видео Projections in Event Sourcing: Build ANY model you want!

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:    / @codeopinion  

💥 Join this channel to get access to source code & demos!
   / @codeopinion  

🔥 Don't have the JOIN button? Support me on Patreon!
  / codeopinion  

📝 Blog: https://codeopinion.com
👋 Twitter:   / codeopinion  
✨ LinkedIn:   / dcomartin  

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

#eventsourcing #softwarearchitecture #softwaredesign

Комментарии

Информация по комментариям в разработке