Distributed Message Service RabbitMQ

Management class

2024-06-27 07:09:47

When restarting a RabbitMQ instance, what happens if one of the RabbitMQ restarts fails?

When restarting a RabbitMQ instance, the Vhost where the instance is located will not be restarted, only the RabbitMQ process.

When restarting a cluster instance, if one of the RabbitMQ processes fails to restart, the state of the instance is still "Running" after restart, and it prompts "some nodes failed". Each Vhost has a RabbitMQ daemon, which regularly checks whether the RabbitMQ process exists, and automatically pulls up the RabbitMQ process when the process does not exist.

If the RabbitMQ instance exception lasts for more than 1 minute, an alarm will be reported.

How does a RabbitMQ cluster instance distribute requests to each Vhost machine evenly?

LVS is used for load balancing within the cluster, which distributes requests evenly to each virtual machine node.

Does RabbitMQ instance support persistence and how do I schedule data backups?

RabbitMQ supports message data persistence. You can connect to RabbitMQ from the client and set up message persistence, or you can set up message persistence when you create a queue in the RabbitMQ cluster management tool interface.

It does not support customers to customize scheduled backup data or trigger backup data from the interface.

How do I get the certificate after SSL Is enabled for a RabbitMQ instance?

After enabling SSL, the RabbitMQ instance only performs one-way authentication and does not require a certificate.

Does the SSL switch for a RabbitMQ instance support modification?

Dynamic modification is not supported, that is, if you do not select Enable when the instance is created, it cannot be modified after the creation is complete. It is recommended that you enable the switch when the instance is created.

Does RabbitMQ instance support delayed message queue?

RabbitMQ can delay messages by setting the validity period of the message and the dead letter queue.

At the same time, it also provides installation plug-ins to implement delayed messages.

What is the impact of message accumulation on business?

To ensure the stability and reliability of the service, DMS RabbitMQ adopts the default 40% high watermark configuration. When memory usage reaches the high watermark of 40%, it will trigger rate limiting control and block the producer process. Message accumulation may cause high watermark in memory. In order to avoid high watermark, you should consume the messages accumulated in the queue in time.

What is the maximum retention time for consumption?

Generally, messages will be retained if they are not consumed, and will be deleted only after they are consumed. But if the expiration time (TTL) is set, the TTL time shall prevail.


uKAJU0XszhN_