Tuning the SAP adapter for scalability and performance

You can configure the number of listeners on the adapter and the number of additional instances on the message flow to prevent delays when processing synchronous calls from SAP.

Before you begin

About this task

The following steps describe how to tune the SAP adapter for scalability and performance.

Procedure

  1. Deploy the BAR file, as described in Including WebSphere Adapters resources in a BAR file.
  2. Start user trace, as described in Starting user trace.
  3. Start to collect accounting and statistics data, as described in Starting collection of message flow statistics and accounting data.
  4. Run the SAP programs at a typical load.
  5. Check user trace for message BIP3461.
    This message tells you the highest number of listeners that are waiting for message flow threads at any one time. In an ideal situation, this number should be as low as possible. To reduce the number of listeners that are waiting for message flow threads, increase the number of instances on the SAPInput node, or the message flow that contains it.
  6. Inspect the accounting and statistics data for the message flow.

What to do next

Unnecessary data conversion can also affect performance. To maximize performance and avoid unnecessary data conversion, ensure that messages that are passed to a SAPRequest node contain the correct data types. The DataObject domain is the default domain when parsing messages that are produced by the SAPRequest node. However, when passing data to the SAPRequest node (for example, by using an MQInput node), the use of a different domain can improve performance. For example, use the XMLNSC parser with the MQInput node to parse XML messages.