[jboss-user] [JBoss Messaging] - NullPersistence service manager performance
brettcave
do-not-reply at jboss.com
Fri Mar 20 07:45:54 EDT 2009
Have just upgraded from messaging-1.4.0-SP3 to 1.4.2-SP1. The performance of 1.4.2 is significantly slower.
The following code is used:
QueueSender sender = (QueueSender) session.createProducer(queueOut);
String correlationID = message.getJMSCorrelationID();
QueueReceiver receiver = (QueueReceiver) session.createConsumer(queueIn, "JMSCorrelationID = '" + correlationID + "'");
sender.send(message, DeliveryMode.NON_PERSISTENT, priority, timeToLive);
connection.start();
result = receiver.receive(resultTimeOut);
connection.stop();
We are using a java library called stompconnect which is used as a broker for another system that picks up messages, processes and returns a response back to jms. The stompconnect environment uses jboss-remoting and jboss-messaging. The 2 libraries were updated as per the doc (using 2.2.2-SP11 of jbr and 1.4.2-sp1 of jbm). These libraries are also added to the jboss lib directory.
The following is an indication of timings (10 requests)
JBM-1.4.0-SP3 mysql-persistence: min: 17ms, max: 40ms, avg: 28ms
JBM-1.4.2-SP1 mysql-persistence: min: 24ms, max: 24ms, avg: 24ms
JBM-1.4.2-SP1 null-persistence: min: 28ms, max: 58ms, avg: 39ms
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219808#4219808
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219808
More information about the jboss-user
mailing list