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
In our use cases, the client fleet is super big, in extreme use case, it could exceed 1000 host capacity. And the Redis server has 100 nodes(20 shards, 1 primary node, 4 replica nodes).
When we initialize the connection, the implementation is:
It means for one host in the client fleet, when it started, it will initialize the Read and Write connection to the Redis cluster. As Redis cluster has 100 nodes(hosts), i believe, the client host will setup connection to the 100 host separately, and for one host, it will initialize two connections.
From the redis cluster side, given the same client host, for any Redis node, Ideally it should hold two connections from the client client.
After we verify the behavior, we found that some redis hosts hold more than 2 connections from the client host.
How does the 5 connections occurred instead of max 2 connections in some Redis nodes?
More connections to the Redis cluster will have impact on redis server performance, considering current client fleet capacity, is it feasible to use Lettuce connection pool to reduce the connection size? Currently given 1000 client hosts, in average, for each redis node, it will hold more than 2000 connections.
Follow up question 2, if there any other way we can configure to mitigate the large connection issues?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In our use cases, the client fleet is super big, in extreme use case, it could exceed 1000 host capacity. And the Redis server has 100 nodes(20 shards, 1 primary node, 4 replica nodes).
When we initialize the connection, the implementation is:
It means for one host in the client fleet, when it started, it will initialize the Read and Write connection to the Redis cluster. As Redis cluster has 100 nodes(hosts), i believe, the client host will setup connection to the 100 host separately, and for one host, it will initialize two connections.
From the redis cluster side, given the same client host, for any Redis node, Ideally it should hold two connections from the client client.
After we verify the behavior, we found that some redis hosts hold more than 2 connections from the client host.
10.117.154.244 is the client host.
We want to know:
Similar issue: #3031 (comment)
Beta Was this translation helpful? Give feedback.
All reactions