Message Queue for RabbitMQ imposes limits on clusters, API calls, and characters for resource names. Before you use Message Queue for RabbitMQ, make sure that all the related requirements are met. Otherwise, the service may not work as expected.
Limits on clusters
Item | Professional Edition | Enterprise Edition | Platinum Edition |
---|---|---|---|
Number of virtual hosts (vhosts) per instance | Valid values: [Number of queues,200]. | 200 | 4096 |
Number of connections per instance | Equal to the number of queues multiplied by 4. Valid values: [1000,5000]. |
Purchase a quota for the number of connections that are required for each instance based on instance specifications. A free quota of at least 2,000 connections is provided for a single instance. The maximum number of connections per instance is 10,000. |
Purchase a quota for the number of connections that are required for each instance based on instance specifications. A free quota of 50,000 connections is provided for a single instance. The maximum number of connections per instance is 100,000. |
Number of exchanges per vhost | Equal to the number of queues. | Equal to the number of queues. | None |
Number of bindings per vhost | Equal to the number of queues multiplied by 10. Valid values: [4096,20000]. |
Equal to the number of queues multiplied by 10. Valid values: [4096,20000]. |
None |
Number of queues bound to a single exchange | 256 | 256 | 256 If you want to increase the limit on the number of consumers per queue, contact Alibaba Cloud technical support. |
Number of consumers per queue | Equal to the number of queues multiplied by 4. Valid values: [50,5000]. |
Equal to the number of queues multiplied by 4. Valid values: [800,5000]. |
None |
Number of channels per connection | Valid values: 64 or the number of queues.
|
Equal to the number of queues. Valid values: [Number of queues,2048] |
3000 |
Message size | 64 KB | 1 MB
Note If a message is smaller than 64 KB, the message is processed as a request. If a message is larger than 64 KB, each 4 KB of the excess message data is processed as a request.
|
1 MB |
Maximum retention period for a delayed message | 24 hours | 24 hours | 7 days |
Maximum retention period for a message | 3 days | 3 days | 3 days |
Maximum number of times a message can be requeued | 16 | 16 | 64 |
Retry interval for message timeout | 60 seconds | 5 minutes | 30 minutes |
Limits on API calls
- Professional Edition (subscription) and Enterprise Edition: The number of calls to a single API is limited, and the total number of calls to all APIs is limited by the peak transactions per second (TPS) that you purchase.
- Platinum Edition (subscription): The number of calls to a single API is not limited, but the total number of calls to all APIs is limited by the peak TPS that you purchase.
Item | Operation | Professional Edition | Enterprise Edition | Platinum Edition |
---|---|---|---|---|
Message sending on a single instance | basicPublish |
25000 TPS | 25000 TPS | None |
Synchronous message reception on a single instance | basicGet |
500 TPS | 500 TPS | None |
Queue clearance on a single instance | purgeQueue |
500 TPS | 500 TPS | None |
Exchange creation on a single instance | exchangeDeclare |
500 TPS | 500 TPS | None |
Exchange deletion on a single instance | exchangeDelete |
500 TPS | 500 TPS | None |
Queue creation on a single instance | queueDeclare |
500 TPS | 500 TPS | None |
Queue deletion on a single instance | queueDelete |
500 TPS | 500 TPS | None |
Binding creation on a single instance | queueBind |
500 TPS | 500 TPS | None |
Binding deletion on a single instance | queueUnbind |
500 TPS | 500 TPS | None |
Message restoration on a single instance | basicRecover |
500 TPS | 500 TPS | None |
Message requeuing on a single instance |
|
20 TPS | 20 TPS | None |
Limits on characters for resource names
Item | Description |
---|---|
Queue name | The name must be 1 to 255 characters in length, and can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). |
Exchange name | The name must be 1 to 255 characters in length, and can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). |
vhost name | The name must be 1 to 255 characters in length, and can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). |
Binding Key |
|
Consumer Tag | The name must be 1 to 255 characters in length, and can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). |
Message ID | Message ID must be 1 to 63 characters in length, and can contain only letters, digits, hyphens (-), underscores (_), periods (.), number signs (#), forward slashes (/), and at signs (@). |