Jane He created CASSANDRA-19451:
-----------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to