← Back to team overview

openstack team mailing list archive

Re: Bottleneck of message queue

 

Hey Howard,

Queues are generally in memory, but you may turn on persistent (disk) queues in your environment. So that's your limitation. Having rabbitmq on a different server is a good idea. 

Also, Queues are only used for control, not user data, so they shouldn't be that big of a burden. Having a queue-based architecture adds some complexity for synchronization, but their benefit of giving us burst-handling capabilities far outweigh that (imho).

If your queues are filling up, you may:
1. need beefier machines processing the offending queues (or rabbit server)
2. need to add more worker nodes (more network, more scheduler, though more compute isn't appropriate)
3. think about clustering rabbit

Notifications are perhaps the chattiest queues in the system, so make sure you have suitable workers there (if you have notifications turned on)

This might help you understand the flow through the queues a little more?
http://www.sandywalsh.com/2012/04/openstack-nova-internals-pt1-overview.html
http://www.sandywalsh.com/2012/09/openstack-nova-internals-pt2-services.html

Cheers,
Sandy


From: openstack-bounces+sandy.walsh=rackspace.com@xxxxxxxxxxxxxxxxxxx [openstack-bounces+sandy.walsh=rackspace.com@xxxxxxxxxxxxxxxxxxx] on behalf of Hao Wang [hao.1.wang@xxxxxxxxx]
Sent: Tuesday, October 09, 2012 11:49 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] Bottleneck of message queue


Hi guys,

I am trying to figure out how the internal interaction processes within different modules of OpenStack. Frankly speaking, while I'm reading the source codes I lost myself and have to jump out again to look at OpenStack from out of the box. I don't know if anybody has the similiar feeling with me. Is there any picture I can follow to see the message flows?

OpenStack is based on message queue to ensure the expansion easy. Here come my questions. Does anybody know the capacity of message queue? Would the capacity be a bottleneck of the platform?

Thanks,
Howard





Follow ups

References