Elastic transactions per second (TPS) in Message Queue for RabbitMQ refers to the TPS that exceeds the specification limit. This topic describes the billing rules, unit price, and billing examples of elastic TPS in Message Queue for RabbitMQ.
Overview
Each ApsaraMQ for RabbitMQ instance provides various specifications with different peak TPS. If your TPS usage exceeds the specification limit, the instance is throttled. To prevent instance throttling caused by bursty traffic, you can enable the elastic TPS feature for your instance. For more information, see Enable the elastic TPS feature for an instance.
After you enable the elastic TPS feature for an instance, the peak TPS can be increased within a specific range. You are charged for TPS that exceeds the specification limit. For more information, see Billing rules.
The maximum value that you can specify for elastic TPS in each instance edition is fixed. For more information, see Unit prices.
Billing rules
Item | Description |
Billable item | You are charged for elastic TPS. Value of elastic TPS = Actual TPS usage - Peak TPS in the instance specification For example, you purchase an instance whose specification has a peak TPS of 5,000. If the actual TPS that you use at a specific time is 6,200. You are charged the elastic TPS fee for the excess 1,200 TPS. |
Billing method | Elastic TPS is billed based on the pay-as-you-go billing method. This billing method allows you to use resources before you pay for the resources. Fees are automatically deducted from the balance of your Alibaba Cloud account. |
Billing cycle | The bill is generated every minute. |
Billing formula | Elastic TPS fee in a minute = Value of elastic TPS in the minute × Unit price of elastic TPS |
Unit prices
Item | Professional Edition | Enterprise Edition | Enterprise Platinum Edition | |
Maximum elastic TPS | 0.5 times the specification limit. | Same as the specification limit. An upper limit of 50,000 TPS is imposed. | Same as the specification limit. An upper limit of 50,000 TPS is imposed. | |
Unit price of elastic TPS (USD/TPS/minute) | Other regions | 0.000072 | 0.000072 | 0.000288 |
SAU (Riyadh) | 0.000086 | 0.000086 | 0.000346 |
Other regions in the preceding table refers to all regions supported by ApsaraMQ for RabbitMQ except for the SAU (Riyadh) region. For information about the supported regions, see Supported regions.
The upper limit of elastic TPS for Enterprise Edition and Enterprise Platinum Edition instance is 50,000 TPS. For example, if you purchase an Enterprise Edition instance whose specification has a peak TPS of 80,000, the maximum elastic TPS for the instance is 50,000. The total TPS of the instance is 130,000.
Example
You purchase a Professional Edition instance whose TPS specification is 1,000 in the China (Hangzhou) region. The following table describes the TPS usage of the instance per minute within a specific hour.
Item | 00:00:00 | 00:01:00 | 00:02:00 | 00:03:00 | ...... | 00:58:00 | 00:59:00 |
Actual peak TPS usage | 1,200 | 1,300 | 800 | 850 | < 1,000 | 950 | 1,100 |
Value of elastic TPS | 200 | 300 | 0 | 0 | 0 | 0 | 100 |
The elastic TPS fee of the instance in this hour is USD 0.0432. The fee is calculated by using the following formula: (200 + 300 +100) × 0.000072 = 0.0432.