Worse performance with Flowable 6.8.1 compared to 6.8.0

Hello Flowable colleagues,

After adopting version 6.8.1 of flowable I have noticed a performance degradation of about 20% of our service. Any recommendation on how to speed up Flowable?

Our system parameters are:

  • 5 flowable engines (5 cloud foundry instances)
  • 4GB ram and 4GB disk
  • PostgreSQL DB with 16GB of RAM and 1000GB storage with 4 CPUs

Our flowable processes contain a large number of Service tasks and parallel sub-processes.
Example diagram: https://github.com/cloudfoundry/multiapps-controller/blob/master/multiapps-controller-process/src/main/resources/org/cloudfoundry/multiapps/controller/process/deploy-app.bpmn

Full flowable configuration: https://github.com/cloudfoundry/multiapps-controller/blob/master/multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/configuration/FlowableConfiguration.java#L77

Best regards,
Yavor

Hey @Yavor,

From what I can see you have a lot of async non-exclusive jobs. Are you by any chance seeing optimistic lock exceptions?

Do you know in which area is the performance degradation happening?

Cheers,
Filip

Hello, @filiphr,

we don’t have any optimistic lock exceptions and also we don’t know where the degradation comes from.

Best regards,
Yavor

Do you have some metrics that you can share with us perhaps? You can share them privately as well.

Would be good if you have some metrics / logs prior the upgrade and after the upgrade so that we can see some comparison and perhaps help us locate the area where the performance degradation is happening.

Cheers,
Filip

I don’t have metrics that can help you with identifing the problem. In the past we have also opened another Worse performance with Flowable 6.8.0 compared to 6.6.0 (Global acuqire lock feature). I don’t know if that will helps you