From the course: Advanced Azure Microservices with .NET for Developers
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Introduction to the Event Sourcing pattern - Azure Tutorial
From the course: Advanced Azure Microservices with .NET for Developers
Introduction to the Event Sourcing pattern
- [Voiceover] In this video, we'll describe Event Sourcing pattern, its principles and challenges, and also we'll highlight some of the benefits we get by adopting it in our solutions. Before I start describing the event, sourcing pattern, let's see first how it compares to the Traditional (CRUD) Approach. Let's suppose that we have modeled an aggregate by using DDD. For example, the patient aggregate in the Wisdom Pet Medicine system. We have a database with one or more tables that perceive the aggregate state in this traditional approach, the application service invokes the aggregate methods to change its state. For example, we involve the set weight method and pass a value in kilograms for the patient, say 23.5 kilograms, the method validates the input and changes the interstate of the object. After that, we commit the state to the database. At this point, the entire state was stored. We could use a no RM or not,…
Contents
-
-
-
-
-
(Locked)
Introduction to the Event Sourcing pattern7m 45s
-
(Locked)
Creating the event store in Azure Cosmos DB4m 37s
-
(Locked)
Creating and storing the first events6m 5s
-
(Locked)
Reading the event store through CQRS7m 26s
-
(Locked)
Challenge: Implementing event sourcing2m 25s
-
(Locked)
Solution: Implementing event sourcing9m 1s
-
(Locked)
-
-
-