Skip to content

wip: Kademlia benchmarks#612

Draft
lexnv wants to merge 5 commits into
masterfrom
lexnv/kad-benchmark
Draft

wip: Kademlia benchmarks#612
lexnv wants to merge 5 commits into
masterfrom
lexnv/kad-benchmark

Conversation

@lexnv

@lexnv lexnv commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Find Node Queries

  • Spawns a network of 1k nodes
  • Each node is connected to 20 random peers
  • Each node scrapes the DHT with 8 active queries for the duration of the benchmark
  • Metrics are reported about the number of discovered peers on average
cargo run --release --example kad_bench -- \ 
  --bench a --nodes 1000 --concurrent-lookups 8 \
  --measure-timeout 300 --checkpoints 120,300 --seed 1 --out results.json
discovery discovery-2k

lexnv added 5 commits June 8, 2026 10:39
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant