0 Replies Latest reply: Aug 23, 2011 4:20 PM by 856371 RSS

    Do I really need 24 message queues, message receiver classes, message sende

    856371
      I have a Java EE system. The deployment server is Jetty. Currently java runs only in one of the 24 cores of the server (12 cores x 2 (hyper threading)). As I understand it from [this thread|http://stackoverflow.com/questions/533783/why-spawning-threads-in-j2ee-container-is-discouraged] you have to use JMS or something similar to spawn threads. I have to spawn 24 threads in order to use all 24 cores. If I do it this way for two message queues, two message receiver classes and two message sender classes the job takes half the time it took originally.

      Do I really need 24 message queues, message receiver classes, message sender classes?