activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davewolfs <david.t...@gmail.com>
Subject Re: Maximum number of durable topics per MQ instance.
Date Thu, 14 Feb 2008 15:24:12 GMT

You bring up some good points with respect to file descriptors.  Any ideas
what the maximums are on an OS like linux?  I was actually considering
modifying the REST Servlet so that it can support durable subscribers and if
this was the case then there is potential for a single JVM process to have
upwards of 3000 concurrent connections to the MQ server.

Do you see this as being a potential problem?

rajdavies wrote:
> 
> 
> On Feb 14, 2008, at 12:05 AM, davewolfs wrote:
> 
>>
>> Hello everyone,
>>
>> I am hoping that some of you could provide me with some realistic  
>> numbers on
>> the maximum number of Durable Topic subscribers.
>>
>> I have never worked with Active MQ so I am not familiar with it's  
>> limits.
>> In a production environment what are some realistic numbers for the  
>> maximum
>> durable topic subscribers?
>>
>> Is ActiveMQ capable of handling durable subscribers in the thousands  
>> i.e.
>> 5000 subscribers or is a number like this pushing the limits.
>>
>> Please advise.
>>
>> Thank you,
>>
>> Dave
>> -- 
>> View this message in context:
>> http://www.nabble.com/Maximum-number-of-durable-topics-per-MQ-instance.-tp15471104s2354p15471104.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> ActiveMQ certainly is capable of handling a large number of durable  
> subscribers - but I for one haven't tested the upper limit as yet.   
> Factors which you need to take into account are:
> 
> 1. A thread is associated with connection - unless you use AIO or NIO  
> - so you need to ensure that your operating system allocate a large  
> number of file descriptors per process. If messages cannot be pushed  
> to the consumer straight away, they are pulled from data store - the  
> thread from the sending connection - or the thread used to acknowledge  
> messages from the consuming connection are used to do the polling.
> 
> 2. Each durable subscriber adds a small overhead to the data store -  
> its worthwhile trying different implementations - JDBC or the default  
> file based store - to see which one is more suitable to your usage  
> patterns
> 
> Let us know how you get on!
> 
> 
> 
> cheers,
> 
> Rob
> 
> http://open.iona.com/ -Enterprise Open Integration
> http://rajdavies.blogspot.com/
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Maximum-number-of-durable-topics-per-MQ-instance.-tp15471104s2354p15481210.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message