-
Notifications
You must be signed in to change notification settings - Fork 216
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
add option to run DHT without providers #274
Comments
But filecoin does need providers for autorelay. |
@vyzo well thats a great point... Advice? It hurts to run a node right now because of dht traffic |
IMO the solution is to allow for client-mode switches for each functionality:
|
^^ in that manner, Filecoin nodes would run the provider subsystem in client-mode, peer routing in full mode, and no content routing. |
@raulk the problem with that though is that there would be no nodes left to store the provider records for autorelay rendezvous :/ |
I'd like to know how this issue might affect choices in #265. If anyone would like to comment there on how they might envisage how this issue might affect the projected API around modes and such, or whether these will be disjoint parts of the API, thanks. |
@whyrusleeping are you worried about sending or storing provider records? You can pass a custom router wrapper to bitswap that turns |
@anacrolix done: @Stebalien apparently Filecoin was seeing an issue with nodes receiving a lot of provider record traffic, even though they don’t use this feature. However, they can’t disable it altogether because autorelay uses it. There’s something at play here. I started investigating but the proofs parameter generation took ages and I context switched. On my plate for tomorrow. |
Was there any outcome from this PR... I think we're seeing something similar - our CPU getting eaten up by provide. |
@tobowers i don't think its made progress, as a workaround, try passing a completely unrelated datastore to the dht (don't use the same datastore that backs your blockstore) |
Some systems (like filecoin) don't need providers, and having the providers subsystem running is a moderate annoyance (its currently causing an absurd amount of bandwidth usage :/). Can we get an option to run the dht without providers?
The text was updated successfully, but these errors were encountered: