activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Re:load balancing for a few identical queues
Date Wed, 20 Mar 2013 01:18:58 GMT
I do not think you need several queues, you can just send your requests to one queue 
and use several consumers to fetch requests from the queue to make call to abonent.
It means that several consumers will make these calls in parallel threads and the broker 
can dispatch requests to consumers evenly.So there is no need to make this by yourself.


At 2013-03-19 18:52:55,Alexander <aler2@yandex.ru> wrote:
>Hello All !!! 
>I have some application which make call to abonent. One of the main
>requirements is make these calls in parallel threads. I have decided to make
>this using ActiveMQ. Queue's count must be configurable. 
>As I imagine these will be several queues for calling to abonents. But I
>think that it needs some alghoritm for load balancing between queues. If I
>will make it by hand, I need develop own balance procedure, which will be
>analize queue sizes. But maybe exists some ready-made decision for it ... ? 
>What you think about it ? 
>What the right decision for this case ? 
>
>Thanks !
>
>
>
>--
>View this message in context: http://activemq.2283324.n4.nabble.com/load-balancing-for-a-few-identical-queues-tp4664879.html
>Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message