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

inbound reference counting for avoiding pruning relevant events #38

Open
mleku opened this issue May 2, 2024 · 0 comments
Open

inbound reference counting for avoiding pruning relevant events #38

mleku opened this issue May 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mleku
Copy link
Collaborator

mleku commented May 2, 2024

making a note for future reference of a possible feature addition

the central idea is adding a new index that adds a reference count to events so that it can be seen how many events are referring to another event... this would probably need to be some kind of weighted and complex score, so that it not only evaluates the direct references, which will be replies, but also, the number of indirect references, to provide a weighting to evaluate whether an event should be evicted preferentially to others of similar age in terms of how recently they are accessed

currently the prune strategy purely is based on Least Recently Used LRU style, but a relevance score like this could help avoid pruning out data that has high relevance

@mleku mleku added the enhancement New feature or request label May 2, 2024
@mleku mleku self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant