Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p2p: Allow to config bucket size of DHT and enhance p2p simulation server #643

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sonhv0212
Copy link
Contributor

@sonhv0212 sonhv0212 commented Dec 11, 2024

Currently, the bucket size of the DHT is hardcoded to 16. A new flag --dht.bucketsize is introduced, allowing users to configure the bucket size as needed.

Enhances the p2p simulation server to facilitate benchmarking of the discovery process in DHT. Key updates include:

  • Exposing APIs for improved control and observability during simulation.
  • Adding configurable parameters for simulation nodes (inproc) to support benchmarking scenarios.
  • Implementing a new benchmark strategy to measure the impact of applying ENR filtering and increasing the DHT bucket size.

@sonhv0212 sonhv0212 force-pushed the feat/dht-bucket-size branch 8 times, most recently from ab39089 to dc2410b Compare December 16, 2024 06:26
@sonhv0212 sonhv0212 force-pushed the feat/dht-bucket-size branch 2 times, most recently from d6e1f1c to 7ad48b5 Compare December 20, 2024 03:53
Currently, the bucket size of the DHT is hardcoded to 16. This commit introduces a new flag --dht.bucketsize, allowing users to configure the bucket size as needed.
This commit enhances the p2p simulation server to facilitate benchmarking of the discovery process in DHT. Key updates include:
- Exposing APIs for improved control and observability during simulation.
- Adding configurable parameters for simulation nodes (inproc) to support benchmarking scenarios.
- Implementing a new benchmark strategy to measure the impact of applying ENR filtering and increasing the DHT bucket size.
@sonhv0212 sonhv0212 force-pushed the feat/dht-bucket-size branch from 7ad48b5 to 3976246 Compare December 22, 2024 15:02
@sonhv0212 sonhv0212 changed the title p2p: add flag to config bucket size of DHT p2p: Allow to config bucket size of DHT and enhance p2p simulation server Dec 22, 2024
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