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

CASSGO-54: Add a LatencyAwareHostPolicy that will deprioritize the host(s) with worse average latencies #1831

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

Klose6
Copy link

@Klose6 Klose6 commented Oct 15, 2024

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.

@Klose6
Copy link
Author

Klose6 commented Feb 8, 2025

May I ask anyone to take a look of this pull? thanks!

@Klose6 Klose6 changed the title Add a LatencyAwarePolicy that prioritizes the host with smaller average latency Issue-1078: Add a LatencyAwareHostPolicy that will deprioritize the host(s) with worse average latencies Feb 10, 2025
@Klose6 Klose6 changed the title Issue-1078: Add a LatencyAwareHostPolicy that will deprioritize the host(s) with worse average latencies CASSGO-54: Add a LatencyAwareHostPolicy that will deprioritize the host(s) with worse average latencies Feb 10, 2025
@joao-r-reis
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants