Exploring the write side of Event Sourcing
Event Store Essentials: Course 2
If you're curious about how to harness the power of an event store and effectively implement Event Sourcing in your projects, you're in the right place. The Event Store Essentials course series will light the path to your mastery of Event Sourcing and event store technologies.
This second course in the series builds on the foundations laid in the first course, guiding you through the intricacies of the write side of Event Sourcing. By the end of this course, you’ll have a thorough understanding of the write side of Event Sourcing, enabling you to implement and manage changes in your event-sourced systems with confidence and precision.
Let's embark on this exciting learning journey together!
This second course in the series builds on the foundations laid in the first course, guiding you through the intricacies of the write side of Event Sourcing. By the end of this course, you’ll have a thorough understanding of the write side of Event Sourcing, enabling you to implement and manage changes in your event-sourced systems with confidence and precision.
Let's embark on this exciting learning journey together!
In Event Sourcing, there are two crucial sides to understand: the write side and the read side.
The write side is where changes to the system state originate. It handles commands, decides which events to generate based on these commands, and maintains the integrity and consistency of the system through the proper application of business rules.
On the other hand, the read side is responsible for projecting the current state of the system by reading and interpreting the events. It ensures that queries are handled efficiently and that the state is up-to-date. (You'll learn about the read side in Event Store Essentials Course 3.)
Empty space, drag to resize
Est. course length
90 minutes
Experience Level
Beginner
Prerequisites
Event Store Essentials Course 1
© 2024 Kurrent, Inc.
In the Event Store Essentials course series, “Event Store Ltd.” and the capitalized “Event Store” refer to the company that develops EventStoreDB.
Event streams
Tailored for event storage, EventStoreDB surpasses traditional databases by allowing the storage of every state change as a distinct event. This capability means that instead of just keeping the latest state, you can track the entire history of changes, organized logically into streams—usually one per entity.
Indexes
With a design that stores indexes separately from data files, EventStoreDB ensures swift access to records by stream name, creating index entries with each committed event.
As more files are saved, EventStoreDB efficiently merges them to maintain a streamlined and accessible data structure.
As more files are saved, EventStoreDB efficiently merges them to maintain a streamlined and accessible data structure.
Projections
This powerful subsystem within EventStoreDB allows for the dynamic response to events by appending new events or linking existing ones to streams.
Especially adept at handling “temporal correlation queries”—a common yet complex query type in business systems—projections offer a specialized solution that few databases can match.
Especially adept at handling “temporal correlation queries”—a common yet complex query type in business systems—projections offer a specialized solution that few databases can match.
Subscriptions
Staying updated with changes is seamless with EventStoreDB subscriptions. As new events are recorded, you can automatically receive notifications, ensuring your system remains in sync and responsive to the latest developments.