Updated on 2023-07-20 GMT+08:00

Specifications

RabbitMQ Instance Specifications

RabbitMQ instances are compatible with RabbitMQ 3.8.35. Table 1 lists the specifications of single-node and cluster RabbitMQ instances.

  • To ensure stability, the maximum size of a single message is 50 MB. Do not send a message larger than 50 MB.
  • In the following tables, TPS is represented by the number of messages (2 KB each) processed per second. In the tests, persistence and queue mirroring were not enabled. Messages were retrieved immediately after creation and were not accumulated in the queues. The data is for reference only and may differ from that in your production environment.
  • Performance is related to the queue quantity, message accumulation, number of connections, number of channels, number of consumers, queue mirroring, priority queue, message persistence, and the exchange type. Select instance specifications based on the pressure test result of the service model.
  • A maximum of 2047 channels can be opened on a connection.
Table 1 Specifications of RabbitMQ instances

Flavor

Brokers

Storage Space

Reference TPS

Maximum Consumers per Broker

Recommended Queues per Broker

Maximum Connections per Broker

rabbitmq.2u4g.single

1

100 GB–30,000 GB

10,000

20,000

200

3000

rabbitmq.4u8g.single

1

100 GB–30,000 GB

20,000

30,000

400

4500

rabbitmq.8u16g.single

1

100 GB–30,000 GB

35,000

50,000

800

7500

rabbitmq.16u32g.single

1

100 GB–30,000 GB

45,000

80,000

1600

12,000

rabbitmq.24u48g.single

1

100 GB–30,000 GB

50,000

100,000

2400

15,000

rabbitmq.2u4g.cluster

3/5/7

3/5/7 x 100 GB–30,000 GB

30,000–70,000

20,000

200

3000

rabbitmq.4u8g.cluster

3/5/7

3/5/7 x 100 GB–30,000 GB

45,000–80,000

30,000

400

4500

rabbitmq.8u16g.cluster

3/5/7

3/5/7 x 100 GB–30,000 GB

85,000–120,000

50,000

800

7500

rabbitmq.12u24g.cluster

3/5/7

3/5/7 x 100 GB–30,000 GB

100,000–150,000

60,000

1200

10,000

rabbitmq.16u32g.cluster

3/5/7

3/5/7 x 100 GB–30,000 GB

130,000–180,000

80,000

1600

12,000

rabbitmq.24u48g.cluster

3/5/7

3/5/7 x 100 GB–30,000 GB

150,000–200,000

100,000

2400

15,000

Storage Space Selection

In cluster mode, RabbitMQ persists messages to disk. When creating a RabbitMQ instance, select a proper storage space size based on the estimated message size and the number of replicas in a mirrored queue, which can be maximally equal to the number of brokers in the cluster.

For example, if the estimated message size is 100 GB, the disk capacity must be at least: 100 GB x Number of mirrored replicas + 100 GB (reserved).

For single-node instances, select a storage space size based on the estimated message size and the reserved disk space.

You can change the number of brokers in a cluster, but cannot change the specifications of a single-node instance.