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&...]