Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document-based stateful projector #159

Open
alexeyzimarev opened this issue Nov 4, 2022 · 1 comment
Open

Document-based stateful projector #159

alexeyzimarev opened this issue Nov 4, 2022 · 1 comment
Labels
enhancement New feature or request perfornamce Ways to improve performance

Comments

@alexeyzimarev
Copy link
Contributor

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
Copy link
Contributor Author

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

@alexeyzimarev alexeyzimarev added perfornamce Ways to improve performance and removed subscriptions labels Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request perfornamce Ways to improve performance
Projects
Status: Triage
Development

No branches or pull requests

1 participant