Why Is Flow Control Triggered? How Do I Handle It?

Flow control is triggered when the traffic used by a Redis instance in a period exceeds the maximum bandwidth.

For details about the maximum bandwidth of an instance flavor, see Instance Specifications, or refer to the page of creating an instance on the console.

Even if the bandwidth usage is low, flow control may still be triggered. The real-time bandwidth usage is reported once in each reporting period. Flow controls are checked every second. The traffic may surge within seconds and then fall back between reporting periods. By the time the bandwidth usage is reported, it may have already restored to the normal level.

For master/standby instances:

For cluster instances:

  • You can analyze big keys and hot keys on the DCS console. For details, see Analyzing Big Keys and Hot Keys.
  • Running commands (such as KEYS) that consume lots of resources may cause high CPU and bandwidth usage. As a result, flow control is triggered.