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
Redis operation frequency: High (many operations per second)
Observations
During the timeout period:
Stats.Misses and Stats.StaleConns show a sharp spike.
Stats.IdleConns still has a significant number of connections available.
Capturing network packets reveals that during the timeout, the client frequently closes connections and opens new ones. Notably, the client actively initiates connection closures.
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
-
Description
I’m experiencing sporadic Redis timeout issues in my Go service. These timeouts occur multiple times a day, each lasting approximately 2 seconds.
Environment
Observations
Stats.Misses
andStats.StaleConns
show a sharp spike.Stats.IdleConns
still has a significant number of connections available.Client Configuration
Here’s how the Redis client is initialized:
Questions and Thoughts
I’m open to any ideas or suggestions to help diagnose or resolve this issue. Your insights would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions