You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DefaultLoadBalancingPolicy should almost always be used; it requires a local datacenter to be specified either programmatically when creating the session, or via the configuration (see below). It can also use a highly efficient slow replica avoidance mechanism, which is by default enabled.
The text was updated successfully, but these errors were encountered:
It would be nice to have a real load balancing strategy which chooses coordinators based on actual metrics such as how fast it can process requests.
See scylladb/scylladb#5715 for motivation. I explain in the comments what the issue is (it is a driver-side issue).
The 4.x versions of the Java driver AFAIK do have such strategies - at least one.
From https://docs.datastax.com/en/developer/java-driver/4.11/manual/core/load_balancing/#built-in-policies:
The text was updated successfully, but these errors were encountered: