[JBoss Messaging] - Q
by tnine
Thank you for all your help. I got everything running by importing the jars you listed from my server into my Jboss server lib into my maven repository. I also fixed my client connectivity issue by upgrading to Spring 2.5.3, and using the org.springframework.jms.connection.CachingConnectionFactory to create and pool the same number of JMS connections as partition readers. Doing this greatly increases my performance. Running my client and JBoss on my dual processor machine, I can now queue around 1000 messages a minute, give or take a few depending on the size. I deployed this to our blade clusters and I had nearly an exponential increase in processing speed as I add new Messaging nodes. With the POJO read process on its own blade, and 2 JBoss nodes on a blade each, I can queue almost 3000 messages per minute! In our previous implementation with MQ, we could only get 500 a minute!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145037#4145037
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145037
18 years, 3 months
[JBoss jBPM] - Re: jBPM concurrency
by alex.guizar@jboss.com
Jorge,
Threading helps get the most of your system by allowing a job to do work while other job is blocked for I/O, or by leveraging multiple CPUs. Because your tests do little I/O then the bottleneck will be the CPU. Increasing the number of threads in such a situation will actually decrease performance due to the overhead associated with context switching.
Your tests do not necessarily prove that jBPM does not scale. They might just mean that your CPU is exhausted due to an overuse of threads. To prove jBPM is the bottleneck, you'd have to show that the CPU is noticeably below 100% usage and that there is contention between threads.
Of course, it'd be interesting to dig further into this. Did you use a profiling tool that generated finer-grained data? Are your tests available publicly?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145034#4145034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145034
18 years, 3 months