cancel
Showing results for 
Search instead for 
Did you mean: 

Subprocesses from call activity are getting slower

bzeuner
Champ in-the-making
Champ in-the-making
Hi,

I have a process that starts many subprocesses (nearly 800) with a call activity. To avoid a StackOverflowException I set:
activiti:async="true" and isSequential="false"

My problem is that the processing of the sub processes are getting slower. At the beginning my first subprocess instances needed 3 seconds. At the end of the 800 they need 8 minutes per subprocess.

Does anybody know what the problem could be?

And what are the differences between the two attributes async and isSequential? What does it mean for database transactions?
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

asynch - creates asynchronous job. Job can be in sequential manner too.
isSequential - (e.g. <multiInstanceLoopCharacteristics isSequential="false|true">) The isSequential attribute indicates if the instances of that activity are executed sequentially or parallel. It does not mean that activities are executed asynchronously.

re: Performance issue.
The best way to solve this issue could be to profile your app. and find out what is getting slower and slower.

Regards
Martin