Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upPath to landing Bitswap PoC #6782
Comments
This comment has been minimized.
This comment has been minimized.
Perfomance comparison of master vs proof-of-conceptWe collected performance data comparing Bitswap master against the proof-of-concept branch using a testground test suite. In particular we are interested in comparing
5ms latency, variable bandwidth: 1 seed, 2 seeds, 4 seedsThese graphs are for 1 leech fetching from 1, 2 and 4 seeds with 5ms latency and 10MB, 20MB, 40MB, 160MB and 1024MB bandwidth. For high bandwidth:
For low bandwidth:
5ms latency, variable bandwidth: 3 leeches fetching from 3 seedsThese graphs are for 3 leeches downloading simultaneously from 3 seeds. It seems like at any bandwidth the results are similar:
Duplicate blocks - 5ms latency, variable bandwidth: 1 seed, 2 seeds, 4 seedsThese graphs show the number of duplicate blocks received by the leech for 1, 2 and 4 seeds.
100ms latency / variable bandwidth: 1 seed, 2 seeds, 4 seedsThese results for variable bandwidths with 100ms latency are similar to those with 5ms latency above. |
This comment has been minimized.
This comment has been minimized.
|
OMG SHIP IT! (@hinshun - some pretty graphs to show off validating all the great work) |
This comment has been minimized.
This comment has been minimized.
|
Fantastic perf improvements! Great graphs! |
This comment has been minimized.
This comment has been minimized.
|
Holy ship! |
This comment has been minimized.
This comment has been minimized.
|
Shout out to @Stebalien with whom we came up with the design ideas, and who reviewed the 9,000 line PR, @hinshun who created the test environment to validate the initial proof-of-concept and to the testground team |
This comment has been minimized.
This comment has been minimized.
|
This is amazing. Great work all around. We're super excited to see this make it to production. |
This comment has been minimized.
This comment has been minimized.
|
Fantastic! This is great stuff @dirkmc :) |



















We're currently working on a proof-of-concept for Bitswap to improve performance by disseminating information about how blocks are distributed amongst peers. This issue outlines the remaining steps required to complete it:
After landing PoC:
ipfs/js-ipfs-bitswap#211