activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Throttling mechanism/parameter on a broker
Date Fri, 30 Jul 2010 07:40:55 GMT
Hi,

you can always use small prefetch limit
(http://activemq.apache.org/what-is-the-prefetch-limit-for.html) to
throttle IO. You can also use synchronous consumers (via receive()
calls) to get the next message exactly when you want it.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Thu, Jul 29, 2010 at 7:09 PM, Jai_M <mjaiganesh_78@yahoo.com> wrote:
>
> We are planning a setup where there are network of brokers. The managing
> application has a broker and the managed entities all have one broker. All
> the managed entities pump messages on a queue.
>
> In this scenario when the application goes down for sometime and resumes it
> will have a lot of messages to consume from all the managed entities.
> My questions is, is there a setting/parameter to specify on the managed
> broker so that it throttles the messages to be sent at a given rate or pump
> only x number of messages per minute ? The idea is not to choke the CPU, I/O
> usage of the managed entities when they attempt to pump all the queued
> messages.
> --
> View this message in context: http://old.nabble.com/Throttling-mechanism-parameter-on-a-broker-tp29298655p29298655.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
View raw message