ApsaraMQ for RabbitMQ imposes limits on clusters, API calls, and string characters. Before you use ApsaraMQ for RabbitMQ, make sure that the limits are not exceeded. Otherwise, exceptions may occur in your program.
Clusters
Item | Serverless Edition | Professional Edition | Enterprise Edition | Enterprise Platinum Edition |
Elastic TPS | Maximum value: 50000. | Half of the peak messaging TPS in the computing specification. | Equal to the peak messaging TPS in the computing specification. Maximum value: 50000. | Equal to the peak messaging TPS in the computing specification. Maximum value: 50000. |
vhosts per instance | Maximum value: 200. | Valid values: number of queues to 200. | Maximum value: 200. | Maximum value: 4096. |
Connections per instance | Maximum value: 10000. | Four times the number of queues. Valid values: 1000 to 5000. | Purchase a connection quota based on the instance specification. A free quota of at least 2,000 connections is provided for an instance. The maximum number of connections per instance is 10,000. | Purchase a connection quota based on the instance specification. A free quota of 50,000 connections is provided for an instance. The maximum number of connections per instance is 100,000. |
Exchanges per vhost | Equal to the number of queues. | Equal to the number of queues. | Equal to the number of queues. | None. |
Bindings per vhost | 10 times the number of queues. Valid values: 4096 to 20000. | 10 times the number of queues. Valid values: 4096 to 20000. | 10 times the number of queues. Valid values: 4096 to 20000. | None. |
Queues per instance | Maximum value: 6000. | Maximum value: 6000. | Maximum value: 6000. | Maximum value: 80000. |
Queues bound to an exchange | Maximum value: 256. | Maximum value: 256. | Maximum value: 256. | Maximum value: 256. If you want to increase the quota, contact Alibaba Cloud technical support. |
Consumers per queue | Four times the number of queues. Valid values: 800 to 5000. | Four times the number of queues. Valid values: 50 to 5000. | Four times the number of queues. Valid values: 800 to 5000. | None. |
Channels per connection | Valid values: number of queues to 2048.
| Valid values: 64 and number of queues.
| Valid values: Number of queues to 2048.
| Maximum value: 3000. |
Message size | Maximum value: 1 MB. | Maximum value: 64 KB. | Maximum value: 1 MB.
| Maximum value: 1 MB. |
Delay period for delayed messages | Maximum value: 7 days. | Maximum value: 24 hours. | Maximum value: 7 days. | Maximum value: 7 days. |
Retention period for messages | Maximum value: 3 days. | Maximum value: 3 days. | Maximum value: 3 days. | Maximum value: 3 days. |
Number of times that a message can be requeued | Maximum value: 16. | Maximum value: 16. | Maximum value: 16. | Maximum value: 64 |
Maximum value: 15 minutes. | Maximum value: 10 minutes. | Maximum value: 15 minutes. | Maximum value: 60 minutes. |
API calls
Serverless Edition, Professional Edition, and Enterprise Edition instances: The number of calls to an API operation is limited, and the total number of calls to all API operations is limited by the peak transactions per second (TPS) that you purchase.
Enterprise Platinum Edition instances: The number of calls to an API operation is not limited, but the total number of calls to all API operations is limited by the peak TPS that you purchase.
Item | Operation | Serverless Edition | Professional Edition | Enterprise Edition | Enterprise Platinum Edition |
Synchronous message receiving on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Queue clearance on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Exchange creation on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Exchange deletion on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Queue creation on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Queue deletion on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Binding creation on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Binding deletion on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Message restoration on an instance |
| 500 TPS | 500 TPS | 500 TPS | None. |
Message requeuing on an instance |
| 20 TPS | 20 TPS | 20 TPS | None. |
String characters
Item | Limit |
Queue name |
|
Exchange name |
|
vhost name |
|
Binding Key |
|
Consumer Tag |
|
Message ID |
|