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

Update default concurrency parameter #605

Merged
merged 2 commits into from Apr 30, 2020
Merged

Conversation

aschmahmann
Copy link
Contributor

No description provided.

@MichaelMure
Copy link
Contributor

MichaelMure commented Apr 30, 2020

Can you comment on the reasoning behind this change ? This does not match what I found in my experiments (the lower the concurrency the better).

@Stebalien
Copy link
Member

This is the default concurrency we ship go-ipfs with. We found that it massively reduced the time it takes to find content. Before this change, the new DHT was often slower at finding content than the old DHT as the old DHT quickly ramped up parallelism to ~20. Now, it's ~2-3x faster, even with all the old nodes clogging up the network.

The hope is that something like #546 will allow us to bring the parallelism back down but this PR brings this package in-line with how we're using it on the network.

@Stebalien Stebalien merged commit a7fb794 into master Apr 30, 2020
@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants