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

Limit the amount of active fallback peers #159

Open
LeeSmet opened this issue Mar 13, 2024 · 0 comments
Open

Limit the amount of active fallback peers #159

LeeSmet opened this issue Mar 13, 2024 · 0 comments
Labels
type_feature New feature or request

Comments

@LeeSmet
Copy link
Contributor

LeeSmet commented Mar 13, 2024

Currently we keep all fallback peers which are feasible, and also infeasibles as well (if they have been retracted recently). Certain network topologies can however cause this to become a rather large list. It might be useful to limit the amount of (fallback) routes for a subnet to some number, e.g. 5 should be more than enough (10 if we are really conservative), and kick out the furthest (distance wise) peers. This does mean we need to take care to handle new peers, since those could potentially become the best in the future but start out as the worst and get kicked out. Some grace period should be taken into account for how long we know the given route, to consider if we want to remove it.

@LeeSmet LeeSmet added the type_feature New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant