-
1. Re: Is PerRequestRuntimeManager helpful?
swiderski.maciej Jan 21, 2014 6:03 AM (in response to manmanlai)what are the actual figures you see regarding performance? Could it be some data base tuning applied to increase the performance?
If you use embedded jbpm then try upgrading to 6.0.1 which has quite few improvements when it comes to performance that was significantly enhanced when persistence and transaction mechanism was unified for runtime engine and task service.
HTH
-
2. Re: Is PerRequestRuntimeManager helpful?
manmanlai Jan 21, 2014 6:30 AM (in response to swiderski.maciej)I has wrote a simple standalone JSE application(embedded jbpm) and database is in another machine, and some test workflows(one only has start/end node, one has several manual task nodes). In non-perisist environment, it can reach 3000+ TPS. But in persist mode, it only can reach 10+ TPS.
Besides to try 6.0.1, any other possibe causes? Do I need to optimize the database, such as add some indexes etc.
/Xiang
-
3. Re: Is PerRequestRuntimeManager helpful?
swiderski.maciej Jan 21, 2014 6:36 AM (in response to manmanlai)1 of 1 people found this helpfultry adding this index and see if that makes any difference:
CREATE INDEX IDX_EVENTTYPES ON EVENTTYPES (INSTANCEID);
HTH
-
4. Re: Is PerRequestRuntimeManager helpful?
manmanlai Jan 21, 2014 8:51 AM (in response to swiderski.maciej)I have already tried it yesterday, because we met deadlock issue in Oracle Database.
Where I can download 6.0.1?
One more question, I did not create database manually, it is done by jba automaticlly everytime. Do you think we should use specific oracle schema to create one manually?
/Xiang
-
5. Re: Is PerRequestRuntimeManager helpful?
swiderski.maciej Jan 21, 2014 10:57 AM (in response to manmanlai)6.0.1 is available in maven repository.
II hope you mean that you create schema once for entire test not for every iteration?! And using hibernate auto ddl is fine as far as can tell.
HTH
-
6. Re: Is PerRequestRuntimeManager helpful?
manmanlai Jan 22, 2014 1:20 AM (in response to swiderski.maciej)I have upgraded to 6.0.1.Final, the performance is increased from 10+ to 230+ TPS, which is similar level as other workflow engines.
Thanks for your suggestions, it is worth to highlight for 6.0.1 as a huge performance improvement, well done!