This repository was archived by the owner on Oct 23, 2022. It is now read-only.
This repository was archived by the owner on Oct 23, 2022. It is now read-only.
Providing a block takes extremely long amount of time #418
Open
Description
Describe the bug
Providing a block to IPFS takes upwards of 4-5 minutes
To Reproduce
let segment_cid = ipfs.put_block(block).await?;
ipfs.provide(segment_cid.clone()).await.unwrap();
Expected behavior
Providing a block should be in the realm of tens of seconds
Environment
Linux, nightly
Additional context
I'm not sure what's the expected performance, but for a service I'm working on, this is simply unbearable. I have 100MB file, and at this rate, just the simple advertisment to the network that my node provides it will take more than an hour.
I'm sure this is not just code problem, but rather problem of bloated DHT, and slow queries within it. But I'd like to raise this issue, and possibly offer my help for working on it.