Optimizing (or remove) the provider delay interval for DHT lookups used by Bitswap
Open
kind/enhancement
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
We have had a delay inside of go-bitswap where we wait for Bitswap broadcasts before we do a content routing lookup.
This has existed for a long time, and DHT performance has gotten much better in the meanwhile. It seems likely that we can drop this number without causing much more load on major use cases, although some analysis might be needed.
If we find analysis is a pain here, we could at least expose this as a Bitswap.Internal config.
The option is: https://github.com/ipfs/go-bitswap/blob/b6f0cc7c83aaa27a39cc7e1b16ee34bba2d8b5b8/bitswap.go#L73
Contributor guide
Assessment
This issue has not been assessed yet.