Affan Dar [https://community.jboss.org/people/affandar] created the discussion

"Reusing KnowledgeSession between different nodes in a cluster"

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

--------------------------------------------------------------
Is it possible to share the same ksession between two different nodes via 
something like this:

| 
 | 
 | StatefulKnowledgeSession ksession = 
JPAKnowledgeService.loadStatefulKnowledgeSession(1, kbase, null, env); |
| 
 | 
 | StatefulKnowledgeSession ksession2 = 
JPAKnowledgeService.loadStatefulKnowledgeSession(1, kbase, null, env); |

?

The reason I am thinking about this is scaling out the processing of workflow 
instances (10k+ workflow instances / day in our scenario).

If we can load the process instances and process them in multiple nodes then I 
can shard the sessions across databases and create a farm of processing nodes 
that are assigned to these shards. Does that make sense? New to jBPM so would 
appreciate any feedback.

Thanks
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to