-
Hi there. I am looking for some advice on how to handle connection storms that are happening during topology changes. Currently when we do some topology changes on redis, it seems like the rueidis client starts hammering redis with connection requests. This is causing the nodes to get overwhelmed and not come back up. Is there any tweaks on the rueidis client that can be done to mitigate this kind of problem? Currently using The current client options we are using
When this is happening there are consistent spikes in the metrics |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @ryanrazsa, PipelineMultiplex=4 is probably too much. It will use 16 connections to each of your cluster nodes for doing auto pipelining. Generally, PipelineMultiplex=0 is enough in the cluster mode. |
Beta Was this translation helpful? Give feedback.
One way I can think of is having a customized
DialCtxFn
function doing the rate limiting or jittering.