All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Manually increase the bandwidth of an instance

Last Updated:Dec 02, 2024

If the default bandwidth of your Tair (Redis OSS-compatible) instance is insufficient to handle unexpected or scheduled traffic spikes, such as traffic spikes in a flash sale, you can increase the bandwidth of the instance without changing the instance specifications.

Scenarios

The bandwidth of an instance varies based on the instance type. If the traffic of an instance reaches the allocated bandwidth, network congestion may occur and instance performance may deteriorate. In the following scenarios, you can adjust the bandwidth of an instance to prevent network congestion and performance deterioration. A bandwidth adjustment helps you increase bandwidth without transient connections at lower costs than an instance specification change.

Scenario

Description

Handle traffic spikes

You can adjust the bandwidth of the instance to handle traffic spikes during promotional events such as a flash sale. After these events end, you can decrease the bandwidth of the instance to reduce costs.

Mitigate impacts on your business

If a large number of read and write operations are performed on large keys within a short period of time, you must temporarily increase the bandwidth of the instance to mitigate impacts on your business and reserve time to process these operations.

Deal with request skew issues at low costs

If the instance is a cluster or read/write splitting instance, specific data shards or read replicas of the instance are frequently accessed. As a result, the bandwidth usage of these data shards or read replicas frequently reaches the allocated bandwidths. However, the bandwidth usage of other data shards or read replicas is low. In this case, you can increase the bandwidths of specific data shards or read replicas instead of increasing the bandwidth or changing the specifications of the instance.

Increase the bandwidth of a standard instance

If the instance is a standard instance with the highest specifications and the bandwidth of the instance does not meet your business requirements, you can increase the bandwidth of the instance without the need to upgrade the instance to a cluster instance. This allows you to focus on business growth.

Precautions

  • The bandwidth of an instance or a shard can be increased by up to six times the default bandwidth of the instance, but the increase in bandwidth cannot exceed 192 Mbit/s. For example, if the default bandwidth of a Tair DRAM-based master-replica instance equipped with 2 GB of memory is 96 Mbit/s, you can increase the bandwidth of the instance by up to 192 Mbit/s. As a result, the maximum bandwidth of the instance is 288 Mbit/s. If the default bandwidth of a Redis Open-Source Edition master-replica instance equipped with 256 MB of memory is 10 Mbit/s, you can increase the bandwidth of the instance by up to 60 Mbit/s. As a result, the maximum bandwidth of the instance is 70 Mbit/s.

    To further increase the bandwidth of the instance, you can upgrade the instance specifications or instance architecture. For example, you can change the standard architecture to the cluster architecture. For more information, see Overview.

  • If you perform one of the following operations, the purchased extra bandwidth automatically becomes invalid and your money is refunded. You can re-increase the bandwidth of your instance based on your business requirements.

    Operation

    Exception

    Upgrade the major version

    N/A

    Change the configurations of an instance

    If the instance uses the standard architecture, the bandwidth settings remain valid after you change the configurations of the instance.

    Migrate an instance across zones

    If the instance uses the standard architecture, the bandwidth settings remain valid after you migrate the instance across zones.

Billing

You are charged per hour based on the amount and usage duration of the extra bandwidth that you purchase. The fees vary based on the region that you select. For more information, see Billable items.

Note

You are not charged for the default bandwidth that is provided for the instance type. You are charged only for the extra bandwidth that you purchase.

Procedure

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.

  2. In the Configuration Information section, click Modify to the right of Maximum Internal Bandwidth.

    Note
    • In the Configuration Information section, you can view the maximum internal bandwidth of the instance. If the instance is a cluster or read/write splitting instance, the bandwidth is the sum of the bandwidths that are allocated to all data nodes within the instance.

    • During off-peak hours, you can reduce the bandwidth to save resources and reduce costs. For more information about how to view the traffic usage of an instance, see View performance monitoring data.

  3. In the panel that appears, specify the amount of the extra bandwidth that you want to purchase and click OK.

    Key parameter

    Description

    Bandwidth

    The extra bandwidth that you want to purchase. The bandwidth of an instance can be increased up to six times the maximum bandwidth available for the instance type. For more information about the maximum bandwidths available for various instance types, see Overview. The extra bandwidth that you can select varies based on the instance type.

    • If the instance is a standard instance, adjust the bandwidth of the instance.

    • If the instance is a cluster or read/write splitting instance, select one of the following options:

      • Total Shard Bandwidth: allows you to adjust the bandwidths of all data shards within the instance at the same time. For example, if you want to handle traffic spikes during events such as flash sales, you can select this option to increase bandwidths.

      • Selected Shard Bandwidth: allows you to adjust the bandwidths of one or more specific data shards. For example, if you want to handle request skew issues, you can select this option to adjust the bandwidths of the selected data shards based on how requests are skewed.

        Note

        You can use the diagnostic report feature to analyze whether request skew issues occur on an instance. For more information, see Create a diagnostic report.

  4. Click Pay and complete the payment.

    After you complete the payment, wait for about 1 minute. Then, the maximum bandwidth of the instance is updated to the sum of the existing bandwidth and the extra bandwidth that you purchase.

    If you want to unsubscribe from the purchased extra bandwidth, you can adjust the bandwidth by following the preceding steps and then click Pay.

What to do next

  • We recommend that you use the bandwidth auto scaling feature. If you enable this feature, when the bandwidth usage of an instance reaches the specified threshold, the bandwidth is automatically increased or decreased. This feature reduces costs and facilitates O&M. For more information, see Enable bandwidth auto scaling.

  • If the instance is a Redis Open-Source Edition instance that requires a sharp bandwidth increase, we recommend that you change the instance into a Tair (Enterprise Edition) instance. This is because a Tair instance supports a maximum bandwidth of more than 96 Mbit/s.

Related API operations

API operation

Description

EnableAdditionalBandwidth

Adjusts the bandwidth of an instance.

FAQ

  • Why am I unable to find the Modify button next to Maximum Internal Bandwidth?

    You cannot change the default bandwidth of a Tair (Enterprise Edition) ESSD/SSD-based instance.

  • Why is the maximum bandwidth limited to three times the default bandwidth?

    You may have purchased subscription bandwidth plans for the instance. On the My Orders page, find the order whose order ID is <Instance ID>-bw, such as r-2zew****qs67bqho3n-bw, and cancel the order. Then, follow the instructions in this topic to purchase pay-as-you-go bandwidth plans. This allows you to increase the maximum bandwidth up to six times the default bandwidth of the instance.

  • How do I adjust the bandwidth of a specific data shard or data node within a cluster or read/write splitting instance?

    When you specify the extra bandwidth that you want to purchase, select Selected Shard Bandwidth. Then, you can adjust the bandwidth of a specific data shard or data node within the cluster or read/write splitting instance based on your business requirements. This way, you can handle request skew issues more flexibly.

  • Does a bandwidth adjustment cause transient connections?

    No, a bandwidth adjustment immediately takes effect and does not cause transient connections.

  • How do I unsubscribe from the extra bandwidth that I purchase for my instance?

    Move the bandwidth adjustment slider to the leftmost position to decrease the bandwidth of your instance to the value provided for the instance type. Then, check the estimated cost and complete the payment.

  • If I change the configurations of my instance after I purchase a specific amount of extra bandwidth, am I still charged for the extra bandwidth?

    If you change the configurations of your instance after you purchase a specific amount of extra bandwidth, the extra bandwidth remains valid and you are charged for the extra bandwidth. The bandwidth of your instance is the sum of the bandwidth that is provided for the new instance type and the extra bandwidth that you purchase. For other instance architectures, the extra bandwidth that you purchase becomes invalid and you are no longer charged for the bandwidth after you change the configurations of your instance. In this case, you must adjust the bandwidth of the instance again if needs arise. For information about the bandwidth limits on various instance types, see Instance specifications.