Whats considered best practice to take Snapshots of the aggregates when using EventStore and CommonDomain (Is there a better place to ask, usergroup, something like that) ?
Related Questions in CQRS
- Correlating aggregates by Saga ID instead of an additional aggregate root
- Command Bus/Dispatcher and Handler registration without Dependency Injection
- WPF Line Of Business Application Architecture
- Command Query Responsibility Segregation (CQRS) / Event Sourcing (ES): Why use it? How to address consistency issues?
- Defining aggregate roots when invariants exist within a list
- Domain Model with Event Sourcing
- DDD\CQRS\Event Sourcing and request historical data
- CQRS + ES - Where to query Data needed for business logic?
- CQRS, multiple write nodes for a single aggregate entry, while maintaining concurrency
- Event sourcing microservices: How to manage timestamp
Related Questions in NEVENTSTORE
- EventSourcing in occassionally connected systems: what if there are two servers?
- NEventStore RavenDB - Obtain Commit Data
- How does NEventStore throws assert commits are uniquely identified?
- What difference between NEventStore and EventStoreDB
- CQRS/EventStore : How to dispatch undispatched events?
- CommonDomain/EventStore/CQRS : Where is the test project for commondomain?
- EventStore and more than one unit of work?
- EventStore build.cmd Errors
- How to get SqlPersistence instance configured with connection string in Jonathan Oliver's EventStore?
- EventStore example applications with source?
Related Questions in COMMONDOMAIN
- CommonDomain/EventStore/CQRS : Where is the test project for commondomain?
- Dispatching AR version together with its event in JO's CommonDomain
- J Oliver EventStore V2.0 CommonDomain Snapshot
- How to get list of aggregates using JOliviers's CommonDomain and EventStore?
- J Oliver EventStore/CommonDomain SagaBase
- Howto: Use single transaction to span update of multiple aggregates
- NEventStore Commit Guid, what is it really used for?
- CommonDomain and NEventStore
- CommonDomain - how to unit test aggregate root
- CommonDomain/EventStore Interface Fetching
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Stack Overflow is the best place for questions because everyone can benefit from the answers.
Snapshots should generally be taken "out of band"--that is out of the mainline of processing. In other words, when a series of events are being committed, you don't want to take a snapshot at that point. Instead, you'll want to have another thread or process take a snapshot asynchronously. I recommend another thread instead of a completely separate process because you don't have to worry about making sure your assemblies (domain, message, etc.) are the same as that for your main processing threads.
The code for "how" to take a snapshot is left up to you, the end user. I will very likely provide some additional guidance in the next week or so on the exact steps for taking a snapshot.
One additional consideration is, do you really need snapshotting? How many streams do you have that go above 1000 events? If none, then you almost certainly don't need the complexity of snapshotting.