Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Event sourcing log

This revision card explains Event sourcing log. It starts from the need that overwriting state erases the why behind every change. It describes store facts as an append-only event stream; rebuild state by folding. The how-to section notes append OrderPlaced , then replay to rebuild , then snapshot for speed. An example on the card is omar Hassan uses the event log as the audit source of truth.

Event sourcing log Overwriting state erases the why behind every change. Store facts as an append-only event stream; rebuild state by folding. Append OrderPlaced → replay to rebuild → snapshot for speed. Omar Hassan uses the event log as the audit source of truth.
Event sourcing log · Download PNG
Read card text

What this card says

Why do we need it?

Overwriting state erases the why behind every change.

What is it?

Store facts as an append-only event stream; rebuild state by folding.

event sourcing

How to do it

Append OrderPlaced → replay to rebuild → snapshot for speed.

Example

Omar Hassan uses the event log as the audit source of truth.

See all AWS revision cards