Hi All
Lets say, If I go with activiti to build the workflow and deploy the web service in multiple servers.
IF there are large number of users using the system at the same time, How processEngine works ?
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine()
1) One instance processEngine shared across multiple incoming requests?
2) Does task ids are different for each of the incoming request?
....
How does the processEngine instance work when multiple requests are coming simaltaneously ?
Thanks
Aneesh
Hi Aneesh Male,
Lets say, If I go with activiti to build the workflow and deploy the web service in multiple servers.
Have a look at Activiti admin doc, Alfresco Activiti
IF there are large number of users using the system at the same time, How processEngine works ?
Multi threaded requests are properly synchronized by Activiti engine. If there are multiple requests trying to access a user task, the first request will be executed and the second will get an exception and so forth. If multiple requests access different process instances, then that's perfectly fine.
If you are referring to performance i.e. how Activiti handles scalability and availability, have a look at Joram's blog post here: The Activiti Performance Showdown | Small steps with big feet
One instance processEngine shared across multiple incoming requests?
Depends on your architecture setup, you can have many processEngine instances deployed. Again, look at the Admin Guide section on Activiti Alfresco Activiti
Does task ids are different for each of the incoming request?
What do you mean?
Thanks,
Thong Huynh
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.