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

Improve Cyclon implementations by favouring least recently used entries instead of random ones #17

Open
NicolasDP opened this issue Feb 7, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@NicolasDP
Copy link
Contributor

Leverage the LRU introduced with release 0.12.0 in the cyclon layer to prioritise the least used nodes. This will be a better choice than only using randomly peeked nodes: we will be able to quarantine and remove more quickly nodes that are not reachable or badly behaving and we will also guarantee contacting more often the least contacted nodes giving them more chance to receive event notification fasters.

Originally posted by @NicolasDP in #15 (comment)

@NicolasDP NicolasDP added the enhancement New feature or request label Feb 7, 2020
@NicolasDP NicolasDP self-assigned this Feb 7, 2020
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