Event sourcing

Overview[1]#

Event sourcing fundamental idea is that of ensuring every change to the state of an application is captured in an event object, and that these event objects are themselves stored in the sequence they were applied for the same lifetime as the application state itself.

Event sourcing ensures that all changes to application state are stored as a sequence of events. Not just can we query these events, we can also use the event log to reconstruct past states, and as a foundation to automatically adjust the state to cope with retroactive changes.

Event sourcing creates a log or Audit of all the changes. This leads to a number of facilities that can be built on top of the event log:

More Information#

There might be more information for this subject on one of the following: