rust-ipfs
rust-ipfs copied to clipboard
bitswap: Investigate performance speed
Bitswap (or beetle-bitswap) speed is rather low compared to kubo (and possibly js-ipfs/helia) when exchanging blocks between two rust-ipfs nodes, however the speed is much faster when exchanging blocks with a kubo node. Originally, it could have been due to how we process blocks in IpfsTask
, however since a kubo node bitswap performance is much faster between rust-ipfs<->kubo, this may be more related to how blocks are sent out in the current implementation or requested from kubo.
Information (base on 256mb file in local network): rust-ipfs<->rust-ipfs: ~103s kubo<->rust-ipfs: ~9s rust-ipfs<->kubo: ~38s