[jboss-user] [jBPM] - Re: jBPM5 - Can't Scale, Won't Scale

Kris Verlaenen do-not-reply at jboss.com
Tue Apr 23 08:05:00 EDT 2013


Kris Verlaenen [https://community.jboss.org/people/KrisVerlaenen] created the discussion

"Re: jBPM5 - Can't Scale, Won't Scale"

To view the discussion, visit: https://community.jboss.org/message/809791#809791

--------------------------------------------------------------
Correct, the number of process instances that are currently active isn't all that important, as they are only loaded into memory if they need to move forward.  Having thousands of process instances managed by a singleton session is possible as long as that session is capable of handling the load (i.e. the requests per second that are necessary), as typically it only means that there are thousands of rows in the database (one per process instance) but only a few of those will be in memory at all times.  

For example, if every process instance only changes typically once a day, then one session can handle that.  If they all change every second, you'll need to distribute your requests amongst multiple ksessions, as one simply won't be able to handle the load.

Kris
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/809791#809791]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130423/f2d5a553/attachment.html 


More information about the jboss-user mailing list