cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Engine performance issue

hardiku
Champ in-the-making
Champ in-the-making
Hello,

i have created one process with two service task nodes (service task node does nothing,empty). When i start the process it took 2200 ms to execute the process instance. I think its a big performance issue, based on my past experience with JBPM i decided to roll on with Activiti, but this performance reading is shocking for me. My hardware is quite decent and using Mysql database.

Can anyone please explain whats wrong with this ?
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Without showing the test that you use to measure this, it's really hard to respond. It definitely doesn't take more than 2 seconds to run such a process instance with Activiti, more around 10-20ms.
I'm expecting you also start the process engine in your test, which means the whole database is created etc.
But please include more information about your test.

Best regards,

hardiku
Champ in-the-making
Champ in-the-making
Thanks for the reply. You are absolutely correct, after debugging in more detail it reveal the fact that start process instance command actually taking 20 ms to execute the workflow, rest of the time was spent in initializing the process engine and other stuffs.