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
Current balancer randomly pins first connected address and never switches until disconnected. Theoretically, millions of clients can be pinned onto the same node. Worse if several watchers are multiplexed on those connections--dispatching node can quickly be overloaded. Since we do not expose connection status or pinned endpoint, client has no way to distribute connections evenly.
Solution
v2 client has EndpointSelectionPrioritizeLeader. Similar can happen for v3 client. Better if we can let client specify dial policy: weighted roundrobin, prioritize leader, customized endpoint selection policy based on workloads, dynamic endpoint selection/switch based on workloads.
Problem
Current balancer randomly pins first connected address and never switches until disconnected. Theoretically, millions of clients can be pinned onto the same node. Worse if several watchers are multiplexed on those connections--dispatching node can quickly be overloaded. Since we do not expose connection status or pinned endpoint, client has no way to distribute connections evenly.
Solution
v2 client has
EndpointSelectionPrioritizeLeader
. Similar can happen for v3 client. Better if we can let client specify dial policy: weighted roundrobin, prioritize leader, customized endpoint selection policy based on workloads, dynamic endpoint selection/switch based on workloads.Related
Probably after we implement new client balancer.
The text was updated successfully, but these errors were encountered: