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

Add program arguments for p2p network config #2494

Merged
merged 3 commits into from Mar 4, 2019

Conversation

Projects
None yet
3 participants
@ManfredKarrer
Copy link
Member

ManfredKarrer commented Mar 4, 2019

No description provided.

ManfredKarrer added some commits Mar 4, 2019

Use class name instead of NetworkEnvelope in messageTimeStamps
- NetworkEnvelope was only used to print the class name if we exceed
throttle limits. Should reduce memory footprint
Add prog args for connection parameters
- Add program args: msgThrottlePerSec, msgThrottlePer10Sec,
sendMsgThrottleTrigger and sendMsgThrottleSleep
- Add ConnectionConfig class with static injected field in Connection
- Cleanups

@ManfredKarrer ManfredKarrer requested review from ripcurlx and freimair Mar 4, 2019

@ManfredKarrer ManfredKarrer added this to the v0.9.5 milestone Mar 4, 2019

@ManfredKarrer ManfredKarrer changed the title Improve p2p network performance Add program arguments for p2p network config Mar 4, 2019

Increase offer TTL and decrease refresh interval
- We get about 300 refresh msg / min. That causes quite  a bit of load
for the network. I think it is safe to increase TTL from 7 to 9 minutes
and change REFRESH_INTERVAL from 5 to 6 min. and
REPUBLISH_INTERVAL from 30 to 40 min.
@freimair
Copy link
Member

freimair left a comment

ACK

@ripcurlx ripcurlx merged commit 4c3fe95 into bisq-network:master Mar 4, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ManfredKarrer ManfredKarrer deleted the ManfredKarrer:improve-p2p-network-performance branch Mar 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.