[jboss-user] [JBoss jBPM] - Using a thread pool for the CommandExecutorThread

timsknt do-not-reply at jboss.com
Tue Sep 26 11:11:47 EDT 2006


Hi,

I am having performance problems with my jBPM application, and it appears to be related to a single step in one of my processes. The node posts XML data to an external server over an HTTP connection, and can take up to 30 seconds.

In a stress test scenario, I have seen processes which normally take 20-50 seconds to complete take over 80 minutes. It seems that almost all the time is spent waiting for the CommandExecutorThread to start processing them after their first async node.

Looking at the code which creates this thread, it seems that there is no thread pooling for this component. It seems like I could get huge gains if the CommandExecutorThread was actually many threads, perhaps managed in a thread pool.

Has anyone ever implemented such pooling with jBPM? Is there code available for this already? What are the potential problems I should look out for if I decide to implement this on my own?

Thanks!
Tim.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974254#3974254

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974254



More information about the jboss-user mailing list