envato / event_sourcery

A library for building event sourced applications in Ruby
MIT License
84 stars 10 forks source link

Snapshot capability #220

Open olivierpichon opened 4 years ago

olivierpichon commented 4 years ago

Hey guys,

Thanks for the awesome work making this library.

Was wondering if there was any sort of snapshoting support so that we would not have to replay all the events but could instead somehow persist an aggregate state and go from there?

Thanks a lot!

grassdog commented 4 years ago

Hey Oliver,

We haven't needed to add snapshotting yet for the applications that use this library so it doesn't support it at the moment.

I'm not aware of many situations where we have many events against a single aggregate so snapshotting hasn't been necessary.