[ 
https://issues.apache.org/jira/browse/CASSANDRA-19451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17822043#comment-17822043
 ] 

Stefan Miklosovic commented on CASSANDRA-19451:
-----------------------------------------------

cc [~absurdfarce]

> 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: 10m
>  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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to