You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ssozonoff <se...@sozonoff.com> on 2006/04/11 11:23:49 UTC

Number of queues

Hi All,

How well can one scale with Queue's?
What sort of resources do Queue's consume?

Could I imagine haveing 10'000 queue's in my application and how long would
it take on application startup to create 10'000 queue's?

Thanks if anyone has some experience with this,
Serge
--
View this message in context: http://www.nabble.com/Number-of-queues-t1430609.html#a3858132
Sent from the ActiveMQ - User forum at Nabble.com.


Re: Number of queues

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Performance wise, It's usually better to use more queues.  In terms of
star up time, if we need to recover x messages, it going to take the
same time if they are all in 1 queue or if they are divided up among
many queues.   The upside to using many queues is that the messages
are lazy loaded so if you have many small queues, you will distribute
the cost of recovering those queues over many operations.

On 4/11/06, ssozonoff <se...@sozonoff.com> wrote:
>
> Continueing on here...
>
> Is it better to try and scale using Message Selectors and a smaller number
> of queue's or lots of Queue's and no message selectors?
>
> Thanks,
> Serge
> --
> View this message in context: http://www.nabble.com/Number-of-queues-t1430609.html#a3859164
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


--
Regards,
Hiram

Re: Number of queues

Posted by ssozonoff <se...@sozonoff.com>.
Continueing on here... 

Is it better to try and scale using Message Selectors and a smaller number
of queue's or lots of Queue's and no message selectors?

Thanks,
Serge
--
View this message in context: http://www.nabble.com/Number-of-queues-t1430609.html#a3859164
Sent from the ActiveMQ - User forum at Nabble.com.