Join GitHub today
bitswap: Bitswap now sends multiple blocks per message #5
left a comment
One small performance nit
When testing this, it didn't appear to have much impact until I upped the fetch concurrency quite a bit. However, I've been wanting to do that for a while anyways. Once I did that, I noticed a ~20% speedup (not counting the speedup from the increased parallelism).
Also, I wasn't able to test in a real system. I expect this'll have quite a bit more impact on a network with many peers.