JBoss Community

Re: Does jBPM support clustering for load balancing?

created by Morioka Ryoichi in jBPM - View the full discussion

Hello Maciej.

Thank you for your reply.

 

I explain the detail of app's architecture which I expect.

 

1)How are you going to maintain your sessions?

Please refer  to "ClusteringImage1", it is the arquitecher which I want to make.(I added the attached file.)

The TaskClient and the TaskService is working on each servers and they are using same DB(postgreSQL).

 

TaskServerSessions are working in each servers and StatefulKnowledgeSessions are made in each servers.

When web app recieve user's request, web app send the msg to BPM engine. And BPM engine execute "making new session of the flow" or "starting and completing the task".

 

The load balancer is controlling the request from the user's to webapp.

 

2)is will you have your cluster in "share nothing" strategy or are you considering any caching mechanism?

About information of which are stored in jBPM's repositry,  I want to share these information between each servers0. And I think this issue can implement cause same DB is used by each servers.

 

Other than these I don't want to share in each servers. (If web apps need shareing the information, I will do it. But I don't want to share jBPM informations between each servers.(Other than information which are stored in jBPM's repositry.)

 

Thanks and regards

Ryoichi Morioka

Reply to this message by going to Community

Start a new discussion in jBPM at Community