AnsweredAssumed Answered

Activiti Rest - Calling multiple instances concurrently

Question asked by yokamurugan on Jul 21, 2014
Latest reply on Jul 24, 2014 by yokamurugan

I have defined some simple BPM flows (F1) and deployed in activiti-rest.war. For simplicity, I have take a simple start-end flow.

I have written a REST client to execute the flow (F1) in parallel threads (20) with its required parameters for 1000 http requests.

Problem: I can see the flows are running sequentially, one by one response for the 20 parallel threads. It took a time of around 60 secs to complete with 20 threads (even when increased to 50 threads) it is the same.

Activiti Version : 5.15 What should be the problem here ?. Any help will be really useful. activiti-rest/service/runtime/process-instances - Rest URL used to start the instance