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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -