-
Book Overview & Buying
-
Table Of Contents
JBoss AS 5 Performance Tuning
You have been hired by Acme Ltd to improve the performance of a Stock Trading application, which uses a JMS system for querying stock values, and to issue orders. The company has recently migrated to the HornetQ messaging system and has a performance goal of delivering 3 K (3000) messages per second. The average size of JMS messages is 1 KB.
The specifications of the system are to persist JMS messages for stock orders but not for stock quotation queries (which account for 80% of the traffic) where it can be acceptable for messages to be lost, in case of a system crash.
The system architecture is described as follows:
JBoss 6.0.0 M5 with HornetQ 2.1.1 installed
Linux System Fedora running on Xeon 4 Dual Core 32 Mb
The Acme project team has installed HornetQ with default values and, after a system warm-up, has launched a first batch of orders:
[STDOUT] 10000 Messages in 49,263 secs
[STDOUT] 20000 Messages in 97,212 secs
. . . . . .
[STDOUT] 100000 Messages...
Change the font size
Change margin width
Change background colour