[jboss-user] [JBoss jBPM] - Re: pondering over jboss/jBPM (need advice)
RAlfoeldi
do-not-reply at jboss.com
Thu Dec 7 17:21:44 EST 2006
Hi Dklio,
1) If you're on JBoss build a MDB and let that start your process - maybe storing your document before.
2) If you use a MDB you will by default be load balancing. Every MDB has one thread and processes one message at at time. Configure 5 MDBs, you get 5 threads. Add 4 Servers and you have 25 threads. As simple as that. As the execution of every process would happen in the thread of the MDB you wouldn't have any synch problems... unless you splitt up your process, have wait states and restart etc. Then you would have to lock on the processInstance.
Performance? Great. Above szanrio is in production at a large Swiss insurance company processing up to 1 Mio messages a day.
Freeting from bern
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992102#3992102
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992102
More information about the jboss-user
mailing list