Skip to content

Redis Cluster - More clients connected on first node than on the others #1951

Answered by vmihailenco
michelaquino asked this question in Q&A
Discussion options

You must be logged in to vote

Underneath, redis.ClusterClient uses redis.Client to comminucate with each node in a cluster. Each redis.Client maintains a separate pool of connections. Number of connections in the pool depends on number of commands that must be processed.

It is hard to tell more, but perhaps the first node receives more commands. That can happen if some keys are more popular than the others.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@michelaquino
Comment options

@vmihailenco
Comment options

@michelaquino
Comment options

Answer selected by michelaquino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants