domain driven design - Is Snapshot supported from Greg Young EventStore? -
i thinking of using evenstore greg young, implementing system based on events. however, not sure whether eventstore greg young supports snapshots. snapshots key requirement application not want replay events construct object state every time.
could provide me samples on how create snapshots in eventstore (greg young version)?
yes, put them in stream , read first value of stream.
eg:
/streams/foo /streams/too-domainsnapshot when reading read last snapshot off snapshot stream read forward version points to.
you can have many streams many different snapshots. believe common domain wrappers support already.
also answered faster in our discussion group (linked on website)
Comments
Post a Comment