Thursday, December 29, 2016

Performance Improvement Tip for a BPEL project



Dehydration of runtime instances is a major bottleneck when it comes to the discussion of performance improvement. Depending on the product that is in use, various runtime tables will be involved in persisting the runtime data. This results in having huge volume of data in these tables causing
  • I/O issues
  • Latency in retrieving the records
  • Hard disk space issues and many more
One of the ways is to enable “inMemoryOptimization” property. This is a property in BPEL that can be set to TRUE.
With this setting to True, another property “completionPersistPolicy” is used to determine persistence behaviour.
completionPersistPolicy is having On (Default) / Deferred / Faulted / off. Among this, setting to “faulted” will persist only faulted instances which can be used for recovery and other related tasks.

<property name="bpel.config.inMemoryOptimization">true</property>
<property name="bpel.config.completionPersistPolicy">faulted</property>

No comments:

Post a Comment