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

Speed up client startup and registration #11005

Merged
merged 2 commits into from
Aug 10, 2021
Merged

Commits on Aug 4, 2021

  1. Speed up client startup and registration

    Speed up client startup, by retrying more until the servers are known.
    
    Currently, if client fingerprinting is fast and finishes before the
    client connect to a server, node registration may be delayed by 15
    seconds or so!
    
    Ideally, we'd wait until the client discovers the servers and then retry
    immediately, but that requires significant code changes.
    
    Here, we simply retry the node registration request every second. That's
    basically the equivalent of check if the client discovered servers every
    second. Should be a cheap operation.
    
    When testing this change on my local computer and where both servers and
    clients are co-located, the time from startup till node registration
    dropped from 34 seconds to 8 seconds!
    Mahmood Ali committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    5535752 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. changelog

    Mahmood Ali committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    47a29e8 View commit details
    Browse the repository at this point in the history