On Wed, Sep 3, 2008 at 9:54 AM, James Strachan <[EMAIL PROTECTED]> wrote:
> 2008/9/3 Gary Tully <[EMAIL PROTECTED]>:
>> But if you only want AMQ to utilise say 40% of cpu resources (cause it
>> is not the only beast on the box), can I tell my hardware loadbalancer
>> that I only want say 40 connections per broker? If not, then the
>> ability to configure a limit on the number of connections and reject
>> those in excess would be handy.
>> Is there any other way to limit/throttle CPU utilisation with AMQ?
>
> Though number of connections in no way reflects the cpu usage of a
> broker; so I guess we have to rely on operating systems to do the
> right thing when it comes to playing nice etc. (Did you notice the
> little unix joke at the end of that sentence :)
Nice one, James ;-).
That's correct, but if I create this feature as a plugin to ActiveMQ,
then the number of connections can be limited based on CPU and/or
memory utilization as one of the strategies.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Blog: http://bruceblog.org/