Closed tmasternak-infusion closed 9 years ago
Thank you for writing. In an effort to answer your questions, I've added a document about the Single Writer pattern to the wiki.
Your question about optimistic concurrency should be answered already:
Since Optimistic Concurrency can't be guaranteed by all storage implementations, the clients have the responsibility to prevent concurrency conflicts.
(my emphasis)
Thank you very much for in depth explanation! It clarified a lot my understanding of AtomEventStore.
Reading the documentation I found information that writes should be performed using Single Writer pattern. My understanding is that one of possible usages of AtomEventStore is persistence for Event Sourcing scenarios. Assuming my understanding is correct it is not clear to me how to achieve that with: a. single process/role writing to a store b. multiple processes/roles writing to a store
Finally is it possible to achieve optimistic concurrency on aggregate version with AtomEventStore?