gocql
gocql copied to clipboard
CASSGO-54: Add a LatencyAwareHostPolicy that will deprioritize the host(s) with worse average latencies
Add a LatencyAwarePolicy that will deprioritize the host(s) with worse average latency to fix the issue-1078 and also as the counterpart of the LatencyAwarePolicy in the cassandra-java-driver client.
May I ask anyone to take a look of this pull? thanks!
I don't think there's consensus that we should have such a policy in the driver. It was originally decided on the java driver that there were a lot of negatives about this policy which prompted the java driver developers to not include it when they released version 4.0 of the driver.
Feel free to start a discussion thread on the C* mailing list though.