eventuous icon indicating copy to clipboard operation
eventuous copied to clipboard

Document-based stateful projector

Open alexeyzimarev opened this issue 2 years ago • 1 comments

We can create a generic projector that would load or create the document, and we will keep it. Handlers could update the document content, and we flush it either all the time or periodically. Flushing would do a full replace, which would work faster for databases like Elasticsearch, but I am not sure about Mongo. Any key-value store would work, too, without requiring to load the document first.

alexeyzimarev avatar Nov 04 '22 12:11 alexeyzimarev

Would work with EF btw, with explicit Attach and Detach to keep the UoW small

alexeyzimarev avatar Nov 04 '22 12:11 alexeyzimarev