We are looking for best performance in SwiftMQ Queue/Topic
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sanjay_Ambardar
Posted On:   Thursday, April 3, 2003 11:29 PM

Can you provide any sort of tips for SwiftMQ configuration that will give us the best performance. These can be anything like ThreadPool size in any swiftlet or disabling trace swiftlet. I mean the configuration of SwiftMQ that supports the best performance.We are currently getting throughput of 7000 messages/sec on a dual CPU machine

Thanks in Advance

Re: We are looking for best performance in SwiftMQ Queue/Topic

Posted By:   Andreas_Mueller  
Posted On:   Friday, April 4, 2003 05:11 AM

The default configuration is already optimized. The rate you got is ok for 1KB messages.


What you should check is whether you explicitly set

sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
at your procuder client. You may also increase the settings of min/max threads of the thread pools "jms.connection" and "jms.session". E.g. set it to each 5 and check your thoughput then.


Another point is the smqp-setting of the connection factory you use. The defaults for smqp-consumer-cache-size is 500 and the smqp-producer-reply-interval is 20. You may increase it to 750/30. But watch your memory since it might be that up to 750 messages are transfered at once. You should set the queue cache size according to the smqp-consumer-cache-size. Set the flow-control-start-queue-size to the queue cache size - 100.
About | Sitemap | Contact