แก้ไข

แชร์ผ่าน


Event sourcing overview

Event sourcing provides a flexible way to manage and persist the grain state. An event-sourced grain has many potential advantages over a standard grain. For one, it can be used with many different storage provider configurations and 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, as far as the JournaledGrain API is concerned. However, we expect to extend or change the list of log consistency providers soon, to more easily allow developers to plug in standard event storage systems.