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 customize the value, submit a ticket.

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 Number of queues.
  • If the number of queues is less than or equal to 64, the number of channels per connection is 64.
  • If the number of queues is greater than 64, the number of channels per connection is 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 delay period for a message All day 3 days 7 days
Maximum retention period for a message 3 days 3 days 3 days
Maximum number of times that a message can be requeued 16 16 64
Retry interval for message timeout 60 seconds 5 minutes 30 minutes

Limits on API calls

Notice
  • Professional Edition and Enterprise Edition: Professional Edition and Enterprise Edition instances are billed based on the subscription billing method. The number of calls for a single API operation is limited. The total number of calls for all API operations is limited based on the quota that you purchased for peak transactions per second (TPS).
  • Platinum Edition: Platinum Edition instances are billed based on the subscription billing method. The number of calls for a single API operation is not limited, but the total number of calls for all API operations is limited based on the quota that you purchased for peak TPS.
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
  • basicReject(requeue=true)
  • basicNack(requeue=true)
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, and the following special characters: -_.#/@
Exchange name The name must be 1 to 255 characters in length, and can contain only letters, digits, and the following special characters: -_.#/@
vhost name The name must be 1 to 255 characters in length, and can contain only letters, digits, and the following special characters: -_.#/@
Binding key name
  • Common: The name must be 1 to 255 characters in length, and can contain only letters, digits, and the following special characters: -_./@
  • Topic: The name must be 1 to 255 characters in length, and can contain only letters, digits, and the following special characters: -_*.#/@

    The name cannot start or end with a period (.). If the name starts with a pound sign (#) or an asterisk (*), the pound sign or asterisk must be followed by a period (.). If the name ends with a pound sign (#) or an asterisk (*), the name must be preceded by a period (.). If a pound sign (#) or an asterisk (*) is not the prefix or suffix of the name, the pound sign or asterisk must be followed by a period (.).

Consumer tag name The name must be 1 to 255 characters in length, and can contain only letters, digits, and the following special characters: -_.#/@