[rabbitmq-discuss] use worker_pool from plugins?
Jon Brisbin
jon at jbrisbin.com
Sat Aug 28 16:56:28 BST 2010
On Aug 28, 2010, at 10:46 AM, Matthew Sackman wrote:
> 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
That's exactly it. I want to control how quickly I swamp the app server on the other end of the webhook. :)
Thanks!
J. Brisbin
http://jbrisbin.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100828/745ba2f3/attachment.htm>
More information about the rabbitmq-discuss
mailing list