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
Use case
For cross-replication topology setupsload_balancing=in_order works best as nodes handle equal amount of load and usually they hit only 1/n of data (n = number of replicas), which makes page cache usage more efficient.
The problem is when one node of the shard goes down. If one replica goes down, the next one in config will handle twice the usual load while remaining ones will handle usual traffic.
Describe the solution you'd like
Create a random_prefer_first load balancing policy, so that when all replicas are present load will be spread equally among them, but when one goes down all other replicas will handle 1+1/(n-1) load instead of 1+1.
The text was updated successfully, but these errors were encountered:
Use case
For cross-replication topology setups
load_balancing=in_order
works best as nodes handle equal amount of load and usually they hit only 1/n of data (n = number of replicas), which makes page cache usage more efficient.The problem is when one node of the shard goes down. If one replica goes down, the next one in config will handle twice the usual load while remaining ones will handle usual traffic.
Describe the solution you'd like
Create a random_prefer_first load balancing policy, so that when all replicas are present load will be spread equally among them, but when one goes down all other replicas will handle 1+1/(n-1) load instead of 1+1.
The text was updated successfully, but these errors were encountered: