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

Decouple load balancing logic from address set #384

Merged
merged 1 commit into from
Jul 10, 2017

Commits on Jul 4, 2017

  1. Decouple load balancing logic from address set

    Round-robin load balancing was previously coupled with the address
    set implementation and made it hard to use different load balancing
    algorithm.
    
    This commit turns RoundRobinAddressSet into a simple concurrent set of
    addresses and moves load balancing logic into a separate component that
    takes list of available addresses and returns one that should be used
    next. This allows easier implementation of new load balancing
    algorithms. Rediscovery procedure will now not use load balancing and
    query routers in a known order (which is randomized by the database).
    lutovich committed Jul 4, 2017
    Configuration menu
    Copy the full SHA
    ab54cc5 View commit details
    Browse the repository at this point in the history