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

Dont count connection times in usefulness #660

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

aarshkshah1992
Copy link
Contributor

@aarshkshah1992 aarshkshah1992 commented Jun 1, 2020

  1. Will help in NOT evicting peers from the RT because of the connection manager churn.
  2. Once we move to QUIC, the connection times should anyways hopefully be insignificant.

On the other hand, this could slow down queries for lower CPLs for now if the other guy keeps disconnecting from us because we are not in their Routing Table.

@Stebalien
Copy link
Member

I'm not sure if we can merge this until we get the load balanced bootstrapping in. One of the ideas behind this metric was penalizing peers that repeatedly disconnect (because they're likely overloaded).

@aarshkshah1992
Copy link
Contributor Author

@Stebalien Agreed. Let's wait till that goes in.

@Stebalien Stebalien force-pushed the feat/no-connection-time-usefulness branch from c390fb7 to 23a315d Compare July 21, 2021 04:03
@Stebalien Stebalien merged commit 06918c8 into master Jul 21, 2021
@Stebalien Stebalien deleted the feat/no-connection-time-usefulness branch July 21, 2021 04:13
@aschmahmann aschmahmann mentioned this pull request Aug 23, 2021
62 tasks
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.

2 participants