← Back to team overview

openstack team mailing list archive

Re: about nova-schedule queues

 

As with most services there are two queues, but the scheduler has one extra:

1. The general round-robin queue. Any worker of that class can process the event. But, only one worker will handle the event.
2. The specific worker queue. Used when I want an event to go to a specific worker, for example: "I want Scheduler #2 to deal with this"
3. The fan-out queue. For sending atomic, non-critical information to all workers. The compute nodes send periodic capacity updates to all schedulers on this channel.

Hope it helps!
-S

________________________________
From: openstack-bounces+sandy.walsh=rackspace.com@xxxxxxxxxxxxxxxxxxx [openstack-bounces+sandy.walsh=rackspace.com@xxxxxxxxxxxxxxxxxxx] on behalf of 韦远科 [weiyuanke123@xxxxxxxxx]
Sent: Tuesday, October 30, 2012 7:55 AM
To: openstack mail list
Subject: [Openstack] about nova-schedule queues

hi all,

I read into the source code for nova-scheduler and found there actually exists three msg queues, like
"scheduler"
"scheduler.node70"
"scheduler_fanout_bd738fedcdf344d9bb3cb580657f54e0".

what's the functions for each queue and are there connections??


thanks,





References