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

Implement a new indexing strategy on streams that indexes arbitrary properties #196

Open
albe opened this issue Sep 21, 2022 · 0 comments
Open
Labels
P: Index Affects the indexing layer

Comments

@albe
Copy link
Owner

albe commented Sep 21, 2022

Following the concept of "Lazy event sourcing" from https://www.youtube.com/watch?v=aqv8d1pjmU8 it might be a nice feature to be able to arbitrarily index events, such that models can be made up lazily on the go by just querying according events.
The current stream indexing method (one index per property value combination, e.g. for every "userId") would lead to too many indexes being created potentially. Drawback is that those indexes would become much more complex and likely would need to implement a B-tree like structure to quickly find elements.

@albe albe added the P: Index Affects the indexing layer label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Index Affects the indexing layer
Projects
None yet
Development

No branches or pull requests

1 participant