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 ...

Get WildFly Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.