You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bret McGuire (Jira)" <ji...@apache.org> on 2024/05/24 22:05:00 UTC

[jira] [Updated] (CASSANDRA-19451) An Option of Latency Sensitive Load Balancing Policy

     [ https://issues.apache.org/jira/browse/CASSANDRA-19451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bret McGuire updated CASSANDRA-19451:
-------------------------------------
    Resolution: Won't Fix
        Status: Resolved  (was: Triage Needed)

> An Option of Latency Sensitive Load Balancing Policy
> ----------------------------------------------------
>
>                 Key: CASSANDRA-19451
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19451
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Client/java-driver
>            Reporter: Jane He
>            Assignee: Jane He
>            Priority: High
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We have received concerns from the community about the 4.x java driver default load balancing policy's performance in terms of busy node avoidance. In some circumstances, when some nodes are busy, the 3.x java driver's `LatencyAwarenessLoadBalancingPolicy` almost does not send requests to the busy nodes, while the 4.x default one will still send a lot of requests to them. This is because the 4.x default one uses in-flight count and responses in the past 200ms to determine a node's health instead of latency. 
> Therefore, we want to create another class called `LatencySensitiveLoadBalancingPolicy` in the 4.x java driver, which will combine the in-flight count and the latency. A user can use it by specifying it in `application.conf`.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org