Connection Issue #2951
              
                Unanswered
              
          
                  
                    
                      kaushal9900
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
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