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
Hi
In our current production setup, we utilize Go Redis v8 in a cluster configuration with a connection pool size of approximately 100. However, we've observed that the time taken for dialing out to connections exceeds our expected connection timeout of approximately 300 milliseconds
We've conducted experiments locally and found that introducing a random sleep between connection establishment attempts notably reduces the time required for connections to be established, typically falling within the range of 3 to 5 milliseconds. Notably, our configuration also involves the use of TLS.
Question is whether it's normal for connecting to Redis to take longer when we have more connection pool
Thanks :)
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
-
Hi
In our current production setup, we utilize Go Redis v8 in a cluster configuration with a connection pool size of approximately 100. However, we've observed that the time taken for dialing out to connections exceeds our expected connection timeout of approximately 300 milliseconds
We've conducted experiments locally and found that introducing a random sleep between connection establishment attempts notably reduces the time required for connections to be established, typically falling within the range of 3 to 5 milliseconds. Notably, our configuration also involves the use of TLS.
Question is whether it's normal for connecting to Redis to take longer when we have more connection pool
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions