Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Do I really need 24 message queues, message receiver classes, message sender classes?(multi-threading in Java EE)
Do I really need 24 message queues, message receiver classes, message sender classes? [message #718290] Tue, 23 August 2011 21:11
Lars Gustafsson is currently offline Lars GustafssonFriend
Messages: 19
Registered: June 2010
Junior Member
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 url=http:--stackoverflow.com/questions/533783/why-spawning-threads-in-j2ee-container-is-discouraged this thread /url 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?
Previous Topic:(no subject)
Next Topic:Model String as Foreign key constraint
Goto Forum:
  


Current Time: Sun Dec 21 10:07:41 GMT 2014

Powered by FUDForum. Page generated in 0.01533 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software