-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Issue
I'm using redis-labs. The DNS resolution time for the endpoints they give are very high in regions other than US. Currently my service does not have that much traffic due to which idle connections are getting killed and new connections are spawned everytime a new request comes in. I tried turning off the IdleConnectionFrequencCheck by setting it to zero and using a custom dialer which sends keep-alive. But for some reason these connections get closed after sometime. not sure why? upon inspection of tcp dump we found that the termination is intiated by the client and not the server.
I know this problem needs to be identified and fixed but was also wondering if we could have an option which lets us specify minimum idle connections so that we always have some connections on standby when there are spikes. Or is there any way we can avoid this problem?