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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Beyond its persistent delivery of events to registered consumers, CEI offers the ability to<br />

explicitly store events in a database. Database event storage requires significant processor<br />

usage, so avoid storing the events in the database if this additional functionality is not needed.<br />

You can also configure the CEI data store:<br />

1. In the administrative console, select Service Integration Common Event<br />

Infrastructure Event Service Event Services Default Common Event<br />

Infrastructure event server.<br />

2. Clear the Enable Data Store check box.<br />

4.10.3 Configuring message consumption batch size<br />

Processing events in large batches is much more efficient than doing it one at a time. Up to<br />

some limit, the larger the batch size, the higher the throughput rate. But there is a trade-off:<br />

processing and persisting events to the Monitor database is done as a transaction. Although<br />

a larger batch size yields better throughput, it costs more if you must roll back. If you<br />

experience frequent rollbacks, consider reducing the batch size. You can reduce cache size in<br />

the administrative console under the server scope:<br />

1. Click Applications Monitor Models and select the version of the batch.<br />

2. Click Runtime Configuration Tuning Message Consumption Batch size and set<br />

the batch size you want. The default value is 100.<br />

4.10.4 Enabling key performance indicator caching<br />

The cost of calculating aggregate key performance indicator (KPI) values increases as<br />

completed process instances accumulate in the database. A KPI cache is available to reduce<br />

the resource usage of these calculations at the cost of some staleness in the results. The<br />

refresh interval is configurable in the WebSphere administrative console:<br />

1. Click Applications Monitor Models and select the version.<br />

2. Click Runtime Configuration KPI KPI Cache Refresh Interval.<br />

A value of zero (the default) disables the cache.<br />

4.10.5 Using table-based event delivery<br />

There are two ways in which events can be delivered by CEI to a monitor model:<br />

► Through a JMS queue<br />

► Through a database table<br />

You can choose a method at application installation time for a monitor model. A suggestion is<br />

to choose table-based event delivery (sometimes called queue bypass), both for reliability and<br />

for performance and scalability reasons.<br />

4.10.6 Enabling the Data Movement Service<br />

By default, the same tables are used for event processing and for dashboard reporting. You<br />

can enable an optional scheduled service, called the Data Movement Service (DMS) to switch<br />

dashboard reporting against a separate set of tables. DMS also periodically copies the data<br />

from the event processing tables for the server to the dashboard reporting tables.<br />

Chapter 4. Performance tuning and configuration 77

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

Saved successfully!

Ooh no, something went wrong!