[rabbitmq-discuss] use worker_pool from plugins?

Matthew Sackman matthew at rabbitmq.com
Sat Aug 28 16:46:20 BST 2010


On Sat, Aug 28, 2010 at 10:42:40AM -0500, Jon Brisbin wrote:
> I'm needing to be a little more careful about how I submit HTTP requests in my webhooks plugin and in searching around, I see that RabbitMQ has a worker_pool already. Rather than implement something similar myself, I was wondering if plugins could submit functions to the worker_pool or if they need to manage their own copy of worker_pool_sup, etc...?

No, you're perfectly welcome to use that. I assume the tasks you're
submitting are fairly short tasks and that you're just trying to limit
parallelism?

Matthew


More information about the rabbitmq-discuss mailing list