Перейти к содержимому

Easy, Database Agnostic .NET Event Sourcing and CQRS with Akka.NET

Petabridge

0:00 / 0:00

Easy, Database Agnostic .NET Event Sourcing and CQRS with Akka.NET

2 306 просмотров · 2 года назад
Petabridge
3,52 тыс. подписчиков
2 306 просмотров · 2 года назад
Event sourcing is a powerful, self-auditing technique for tracking changes to entities in a given business system - and frequently event-sourcing goes hand-in-hand with Command Query Responsibility Segregation (CQRS), a powerful pattern for separating read and write models from each other. Akka.NET is one of the best solutions in market for implementing both of these patterns using Akka.Persistence (event-sourcing) and Akka.Persistence.Query (CQRS) - it can work across any of our supported databases (SQL Server, Postgres, Redis, MongoDb, Azure Table Storage, to name a few) and it does so with minimal fuss. In this webinar you’ll learn: How to leverage Akka.Persistence for event-sourcing your source-of-truth data; How to design state and event formats your persistent actors will use; How to project Akka.Persistence data using Akka.Persistence.Query into separate read models - such as materialized views, read-optimized tables, and more; How to use tags and other Akka.Persistence features to make your read models as flexible as possible; and How to version your events and state across the lifespan of your software. Source: https://github.com/petabridge/akkadot... Learn Akka.NET: https://learnakka.net/ Akka.NET Homepage: https://getakka.net/ 0:00 - Intro 2:07 - Event-Sourcing with Akka.Persistence 8:46 - How it Works 10:25 - Event & State Schema 21:28 - Preparing for CQRS 25:25 - Tagging Events in Akka.Persistence 27:06 - Akka.Persistence.Query 28:47 - Flavors of Persistent Query 31:04 - Materialized Views & Error Handling 44:19 - Future Proofing with Versioning 52:52 - Viewer Questions & Conclusion