[rabbitmq-discuss] Consumer management

Amol Kedar ajkedar at gmail.com
Wed Apr 2 21:43:53 BST 2014

Hi Bill,
I'd like to know how the supervisord has worked out for you or have you 
moved on to something else?
we are trying to implement something on our own but saw this thread and 
might give it a try for spawning our consumers

On Monday, January 31, 2011 10:01:13 AM UTC-5, Bill Moseley wrote:
> How do you manage your consumer/worker processes?  Does anyone look at the 
> queue lengths and automatically adjust the number of consumers?
> Is anyone using http://supervisord.org/ for managing consumer processes?
> I have a pool of servers to run a small collection of consumers that do 
> different tasks.  As load dictates (by looking at messages waiting in 
> queues) I'd like to be able to dynamically re-balance the mixture of 
> consumers.  For example, if a lot of requests come in for report generation 
> and I have a lot of idle consumers that do image manipulation I'd like to 
> reduce the number of image processing consumers and add more report 
> generation consumers.  
> (Many of my consumers are pretty simple in that they just run some command 
> line tool.)
> What's your approach?
> And do you tend to write consumers that are small stand-alone programs 
> (something easy for Supervisor to manage) or write larger (perhaps more 
> complex) stand-alone apps that listen to a queue and fork (or threads) 
> workers do handle incoming messages?
> -- 
> Bill Moseley
> mos... at hank.org <javascript:>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140402/81ecb51f/attachment.html>

More information about the rabbitmq-discuss mailing list