08.06.2014 Views

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.8 Tuning for Business Process Execution Language business<br />

processes<br />

This section provides advanced tuning tips for Business Process Execution Language (BPEL)<br />

business processes.<br />

4.8.1 Tuning Work Manager-based navigation for business processes<br />

Work Manager-based navigation is the default navigation mode for BPEL business processes<br />

(rather JMS-based navigation). Work Manager-based navigation provides two methods to<br />

optimize performance, keeping the quality of service of (JMS-based) process navigation<br />

consistent with persistent messaging:<br />

► Work Manager-based navigation<br />

WorkManager is a thread pool of Java Platform Enterprise Edition threads. WorkManager<br />

process navigation takes advantage of an underlying capability of WebSphere Application<br />

Server to start the processing of ready-to-navigate business flow activities without using<br />

messaging as provided by JMS providers.<br />

► InterTransactionCache<br />

This cache is a part of the Work Manager-based navigation mode that holds process<br />

instance state information in memory, reducing the need to retrieve information from the<br />

BPE database.<br />

Several parameters control usage of these two optimizations. In the administrative console, to<br />

find the first set of these parameters, use the following steps:<br />

1. Click Application Servers and select the server name you want.<br />

2. Click Business Integration Business Process Choreographer Business Flow<br />

Manager Business Process Navigation Performance.<br />

Enabling this capability at the cluster level overrides the settings for a specific server. So, in a<br />

clustered environment, enabling this capability at the cluster lever is the easiest approach.<br />

Key parameters are as follows:<br />

► Enable advanced performance optimization<br />

Select this property to enable both the Work Manager-based navigation and<br />

InterTransactionCache optimizations.<br />

► Work-Manager-Based Navigation Message Pool Size<br />

This property specifies the size of the cache used for navigation messages that cannot be<br />

processed immediately, provided Work Manager-based navigation is enabled. The cache<br />

defaults to the message size (computed by 10 times the thread pool size of the<br />

BPENavigationWorkManager). If this cache reaches its limit, JMS-based navigation is<br />

used for new messages. For optimal performance, ensure that this Message Pool size is<br />

set to a sufficiently high value.<br />

► InterTransaction Cache Size<br />

This property specifies the size of the cache used to store process state information that<br />

has also been written to the BPE database. Set this value to twice the number of parallel<br />

running process instances. The default value for this property is the thread pool size of the<br />

BPENavigationWorkManager.<br />

Chapter 4. Performance tuning and configuration 73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!