Download PDF (1.3 MB) - IBM Redbooks
Download PDF (1.3 MB) - IBM Redbooks
Download PDF (1.3 MB) - IBM Redbooks
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4.7.4 Messaging tuning<br />
This section describes performance tuning for messaging.<br />
Choosing data store or file store for messaging engines<br />
Messaging engine persistence is backed by a database. However, a stand-alone Business<br />
Process Manager configuration might have the persistence storage of BPE and SCA buses<br />
backed by the file system (file store). You must choose a file store at profile-creation time. Use<br />
the Profile Management Tool to create a new stand-alone enterprise service bus profile or<br />
stand-alone process server profile:<br />
1. Click Profile Creation Options Advanced profile creation Database<br />
Configuration.<br />
2. Select the Use a file store for Messaging Engine (MEs) check box. When this profile is<br />
used, file stores are used for BPE and SCA service integration buses.<br />
Setting data buffer sizes (discardable or cached)<br />
The DiscardableDataBufferSize property is the size in bytes of the data buffer uses when<br />
processing best-effort non-persistent messages. The purpose of the discardable data buffer<br />
is to hold message data in memory because this data is never written to the data store for this<br />
quality of service. Messages that are too large to fit into this buffer are discarded.<br />
The CachedDataBufferSize property is the size in bytes of the data buffer used when<br />
processing all messages other than best-effort non-persistent messages. The purpose of the<br />
cached data buffer is to optimize performance by caching in memory data that might<br />
otherwise need to be read from the data store.<br />
You can set the DiscardableDataBufferSize and CachedDataBufferSize in the administrative<br />
console:<br />
1. Click Service Integration-Buses and select the bus name.<br />
2. Click Messaging Engines and select the messaging engine name.<br />
3. Click Additional properties Custom properties and enter the values for<br />
DiscardableDataBufferSize and CachedDataBufferSize.<br />
Using a high-performance database management system for messaging<br />
engine data stores<br />
For better performance, use production-quality databases, such as DB2, for the messaging<br />
engine data stores. You can choose the database at profile creation time using the advanced<br />
profile creation option.<br />
Creating the DB2 database and loading the data store schema<br />
Instead of having one DB2 database per messaging engine, we put all messaging engines<br />
into the same database, and using different schema to separate them, as shown in Table 4-1.<br />
Table 4-1 Messaging engine schemas<br />
Schema<br />
SCASYS<br />
SCAAPP<br />
CEIMSG<br />
BPCMSG<br />
Messaging engine<br />
box01-server1.SCA.SYSTEM.box01Node01Cell.Bus<br />
box01-server1.SCA.APPLICATION. box01Node01Cell.Bus<br />
box01-server1.CommonEventInfrastructure_Bus<br />
box01-server1.BPC.box01Node01Cell.Bus<br />
Chapter 4. Performance tuning and configuration 67