-
Notifications
You must be signed in to change notification settings - Fork 36
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
p2psim: Enhance p2psim for DHT benchmarks #643
p2psim: Enhance p2psim for DHT benchmarks #643
Conversation
ab39089
to
dc2410b
Compare
7ad48b5
to
3976246
Compare
3976246
to
e10a78d
Compare
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.
e10a78d
to
f22279e
Compare
@sonhv0212 Could u update how to run inside examples folder as same with ping-pong service examples ? or I think u can move discovery folder inside examples too, and move ping-pong to subfolder call ping-pong ? |
I moved ping-pong and discovery to the examples folder |
|
||
"github.com/ethereum/go-ethereum/core/forkid" | ||
"github.com/ethereum/go-ethereum/event" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update inproc_test for adapting the new changes.
86ba22f
to
455e285
Compare
fb68f6f
to
32a59ce
Compare
Seem good for me. |
Enhances the p2p simulation server to facilitate benchmarking of the discovery process in DHT. Key updates include: