Skip to content

Commit

Permalink
roadmap: add a benchmarking section
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Sep 29, 2022
1 parent d06659f commit 60c4fce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ Why: Having lots of transports is great, and shaving off RTTs is awesome. We nee

Goal: We have cross-version and cross-implementation Testground coverage that makes sure that we are able to establish a libp2p connection between two nodes, in the expected number of RTTs. This makes sure that the optimizations don’t break compatibility, actually have the performance impact we expect them to have, and serves as a regression test in the future.

## ⏱ Future-proof Benchmarking

Why: For libp2p to be competitive, it needs to delivers comparable performance to widely used protocols on the internet, namely HTTP/2 and HTTP/3.

Goal: We have a test suite that runs libp2p transfers between nodes located at different locations all over the world, proving that libp2p is able to achieve performance on par with HTTP. The test suite is run on a continuous basis and results are published to a public performance dashboard.

## 📢 Judicious Address Advertisements

Why: A node that advertises lots of addresses hurts itself. Other nodes will have to try dialing a lot of addresses before they find one that actually works, dramatically increasing handshake latencies.
Expand Down

0 comments on commit 60c4fce

Please sign in to comment.