O'Reilly logo

WildFly Performance Tuning by Anders Welén, Arnold Johansson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Optimizing HornetQ

Up to now, we mostly discussed optimizations that can be done using standard JMS functionalities. In the rest of the chapter, we will focus on HornetQ-specific optimizations that can be used in WildFly.

Persistence storage tuning

As HornetQ uses a journal (basically a set of binary files) located on disk for persistent storage of messages, the first thing is to make sure is that the files are placed on their own dedicated physical disk(s). Any other I/O to that disk may harm performance as it will compete with HornetQ to control the disk head. This is very important as the HornetQ journal is an append-only journal, and moving the disk head will have a serious impact on performance. The journaling directory can be changed by the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required