-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Description
hi ,
I found the load balancing of connections to slave is std::shuffle , this may be cause all connections to just one slave node if has a small number of slaves.
Actually, it happeds to me. I use sentinel mode , one master and two slaves. Master has 5 connections , slave 1 has 10 connections and slave 2 has no connections . slave 1 node cpu cost is high , but slave 2 node cpu is so free.
it is better if use round robin for valid slave nodes ?
Metadata
Metadata
Assignees
Labels
No labels