Skip to content

RailsEventStore/snapshots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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