You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by saumya <sa...@gmail.com> on 2019/02/27 05:14:07 UTC

Increasing the number of consumers in a single broker

Hi
   In a system the producer will produce thousands of  messages per second.
For load balancing  we can increase the number of consumers. For proper load
balancing is there any specific time when we need to increase the consumers
(when the number of messages greater than a specific number).

Thanks
Saumya



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html

Re: Increasing the number of consumers in a single broker

Posted by Clebert Suconic <cl...@gmail.com>.
There's no magic number of messages.

You should test and monitor you CPU consumption.

You should look into ActiveMQ Artemis if performance / throughput is a
concern, I would suggest AMQP cilents.. and perhaps use qpid
interconnect as a network load balancer.

On Wed, Feb 27, 2019 at 10:34 AM saumya <sa...@gmail.com> wrote:
>
> Hi
>    In a system the producer will produce thousands of  messages per second.
> For load balancing  we can increase the number of consumers. For proper load
> balancing is there any specific time when we need to increase the consumers
> (when the number of messages greater than a specific number).
>
> Thanks
> Saumya
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html



-- 
Clebert Suconic