HornetQ performance improvements in JBoss EAP
Issue
I am currently evaluating the use of HornetQ in our IT system but it is performing below expectations.
I downloaded this benchmark from the web (https://community.jboss.org/wiki/HornetQ-ThePerformanceLeaderInEnterpriseMessaging), and expected similar results for scenario D (1 consumer, 1 publisher, 1K messages). We have a more powerful machine here but I am not able to produce more than 12000 messages per second. According to the benchmark, I should be able to produce 60000 messages/second.
I have tried nearly all the possible optimisations described in the documentation (http://docs.jboss.org/hornetq/2.2.2.Final/user-manual/en/html/perf-tuning.html), but that did not have any real positive effect. Since I'm doing the testing on Windows 2008 R2 x64, I also decided to give it a try on Linux Ubuntu 11.10 x64, but I got similar results. The CPU appears to be 100% busy, at least for the 2 cores that are being used, since HornetQ and the publisher run in the same JVM. I've also decided use "localhost" in the URI to make sure that the bottleneck is not at a network level (Also note that everything is happenning on the same machine).
Can you advise on how to improve the performance?
Environment
- JBoss Enterprise Application Platform 5.1.2
- Windows 2008 R2 x64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
