[jboss-user] [jBPM] - Reusing KnowledgeSession between different nodes in a cluster

Affan Dar do-not-reply at jboss.com
Wed Feb 15 20:18:25 EST 2012


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]

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


More information about the jboss-user mailing list