Edit

Share via


Event sourcing overview

Event sourcing provides a flexible way to manage and persist grain state. An event-sourced grain has many potential advantages over a standard grain. For one, you can use it with many different storage provider configurations, and it supports geo-replication across multiple clusters. Moreover, it cleanly separates the grain class from definitions of the grain state (represented by a grain state object) and grain updates (represented by event objects).

The documentation is structured as follows:

The behavior documented above is reasonably stable regarding the JournaledGrain API. However, we expect to extend or change the list of log consistency providers soon to more easily allow you to plug in standard event storage systems.