Generally, Redis instances save and obtain data in the data layer closer to application services, which consumes the network bandwidth. Rate limits may occur when the instance bandwidth is insufficient, causing increased service latency or client connection exceptions. Currently, the Redis instance bandwidth can be adjusted on the console for DCS Redis 4.0 and later instances.
in the upper left corner and select a region and a project.Figure 1 Adjusting bandwidth

Figure 2 Manually setting target bandwidth

When the bandwidth adjustment task is in the Successful state, the new bandwidth is used.
Bandwidth increases automatically (up to 2,048 Mbit/s per shard) based on scaling policies. Automatic scaling overrides manual adjustments.
Figure 3 Setting auto bandwidth increase policies

Policy | Description |
|---|---|
Burst Bandwidth Usage ≥ | Burst bandwidth usage threshold for bandwidth increases. Calculation: Burst bandwidth usage = Burst used bandwidth/Shard bandwidth. The value of "Burst used bandwidth" uses the larger metric between Output Flow and Input Flow. Target: When the burst bandwidth usage of an instance shard reaches the threshold, the shard bandwidth is automatically scaled up. As a result, the burst bandwidth usage is reduced to (its threshold minus 10%). For example, if this threshold is set to 70%, the shard bandwidth will be automatically increased when the burst bandwidth usage reaches 70%. As a result, the burst bandwidth usage decreases to 60%. Therefore, the shard bandwidth after the scaling equals the burst bandwidth usage divided by 60%. |
Monitoring Period | Monitoring period of bandwidth increases, in minutes. Default: 1 For example, if the monitoring period is set to 1 minute, the bandwidth data is monitored within 1 minute. |
Silence | Interval between increases, in seconds. Default: 0 The silence time avoids consecutive automatic bandwidth increases. |
On the page for manually adjusting the bandwidth, you can view Assured and Current bandwidth of each shard. Current displays the latest bandwidth.
Figure 4 Viewing bandwidth

The relationship between the instance bandwidth and the bandwidth of a single shard is as follows:
For example, there is a cluster instance with three shards. The adjusted bandwidth of each shard is 800 Mbit/s, and the total bandwidth of the cluster instance is 2,400 Mbit/s.