What activities create queues in RabbitMQ of openstack?

asked 2019-06-11 05:59:49 -0500

star5 gravatar image

I have been trying to understand how RabbitMQ works and what creates exchanges and queues in RabbitMQ? I have gone through the openstack documentation and only an abstract info is provided.

Could anyone point me in the direction of what creates exchanges and queues in RabbitMQ openstack? For instance, creating an instance normally creates a queue. When u repeat the creation of another instance, the previous queue that was created was being used. I was able to monitor this through enabling the management plugin of RabbitMQ and having access to the web management panel.

edit retag flag offensive close merge delete



While I don’t claim to know a lot about it, Nova documentation covers the way Nova uses APMQ at much detail.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-11 07:23:30 -0500 )edit

OVH did a pretty interesting talk about message queuing at scale at the Denver Open Infrastructure Summit. Understanding the problems they had with it can really add to understanding what it does: https://www.openstack.org/videos/summ...

utdream gravatar imageutdream ( 2019-06-12 14:33:51 -0500 )edit

I have been experimenting a lot with this. While the creation of an instance creates 1 exchange and 1 queue and 2 connection, it is never the same. I ran a script to keep creating instances until the resources exhaust. But it created few connections, exchanges and queues and then used the same.

star5 gravatar imagestar5 ( 2019-06-14 11:39:46 -0500 )edit

@Bernd Bausch: I have actually read the link you posted up and down. And that is the basis of my understanding. However, I couldn't find any documentation which explains the sort of activities that triggers the usage of RabbitMQ exchanges, queues or connections.

star5 gravatar imagestar5 ( 2019-06-14 11:54:18 -0500 )edit

I guess that the code is the documentation in this case.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-14 16:01:35 -0500 )edit