Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 734 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 734 Bytes

snapshots

An experiment of different snapshot implementations.

Two streams snapshot repository

source

  • With dedicated stream for snapshot events
  • Using Marshal for dumping an aggregate state
  • Based on AggregateRoot::SnapshotRepository introduced in RailsEventStore in version 2.7

Single stream snapshot repository

source

  • Snapshot events mixed into aggregate's stream
  • Applying Snapshot event explicitly like other event types