...
Code Block | ||
---|---|---|
| ||
-DentityExpansionLimit=100000 |
External database
Configure an external database server such as MySQL as the persistence storage instead of embedded H2 database. Although slight performance gains can be experienced when using simple BPEL processes with H2 database, it cannot handle multiple concurrent requests and complex processes with the same efficiency.
...
Event filtering
Configure event-filtering at process and scope level. A lot of database resources can be saved by reducing the number of events generated.
...
One technique to reduce memory utilization of the BPS engine is process hydration and dehydration. User can configure the hydration/dehydration policy in $PRODUCTthe <BPS_
HOMEHOME>/repository/conf/bps.xml
file or define a custom hydration/dehydration policy.
...
Code Block | ||
---|---|---|
| ||
<tns:ProcessDehydrationmaxCount="100"value="true"><tns:MaxAgevalue="300000"/></tns:ProcessDehydration> |
MaxAgevalue
: Sets the maximum age of a process before it is dehydrated.ProcessDehydrationmaxCount
: The maximum deployed process count that can exist in memory at a particular time.
...