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 LOAD_BALANCING_POLICY_SLOW_AVOIDANCE funtionality #168

Merged
merged 1 commit into from
May 21, 2024

Commits on Apr 29, 2024

  1. Add LOAD_BALANCING_POLICY_SLOW_AVOIDANCE funtionality

    The java driver has the feature to automatically avoid slow replicas
    by doing simple heuristics. This is one of the key feature to have a
    stable latency.
    
    This commit adds additional field in tokenAwareHostPolicy to control
    if the feature is enabled and what is the maximum in flight threshold.
    
    If feature is enabled driver sorts the replicas to first try those
    with less than specified maximum in flight connections.
    
    Fixes: scylladb#154
    sylwiaszunejko committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    26c61ef View commit details
    Browse the repository at this point in the history