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

Reverse calculate the radius at startup by using the furthest content item in the ContentDB #2262

Open
kdeme opened this issue May 31, 2024 · 0 comments
Labels

Comments

@kdeme
Copy link
Contributor

kdeme commented May 31, 2024

Fluffy currently sets the radius at max when the node starts up.
Because the radius only gets winded down when the storage-capacity hits, this can take a bit of time for a node to drop.
Additionally, depending on which data (which distance) gets added since start-up, this could still linger at to high radius values for a while.

This gives a wrong perspective on the nodes their capacity on the network, which is for example visible on glados interface.

We can reverse calculate the radius based on the furthest Element (that code is already there for pruning). But there probably should be some extra conditions based on how full the node is. (e.g. only do this when the node is > 90% capacity, this is what Trin does afaik).

@kdeme kdeme added the Fluffy label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant