Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Configuring Protocol Features : Tuning for Improved Performance

Tuning for Improved Performance
You can improve performance by tuning memory usage and thread counts. This section provides more information about both.
Memory Tuning
Using the TIBCO BusinessConnect console, you can configure TIBCO BusinessConnect to leverage the file system to decrease memory usage. Depending on the EDI protocol, these features are available:
For more information about each of these TIBCO BusinessConnect EDI Protocol powered by Instream features, see the section for the host record, advanced properties, in the configuration guide for the appropriate EDI variant.
For information about the memory-tuning available features, see the TIBCO BusinessConnect Server Administration Guide.
Tuning Thread Count
For optimal performance, TIBCO BusinessConnect EDI Protocol powered by Instream requires a total thread count of at least 32 in the deployment.
The following EDI plug-in properties allow you to configure a thread count:
edi.LongRunningJob.ThreadPool.EDIToXML.FileBased.maxCount: This property controls the maximum thread pool size used by file based EDI validation and conversion. The default is 8.
edi.LongRunningJob.ThreadPool.EDIToXML. InMemory.maxCount: This property controls the maximum thread pool size used by in-memory based validation and conversion. The default is 8.
edi.LongRunningJob.ThreadPool.XMLToEDI. maxCount: This property controls the maximum thread pool size used by XML to EDI validation and conversion. The default is 8.
Included in the minimum thread count of 32 are sixteen (16) threads used by TIBCO ActiveMatrix BusinessWorks for pollers, batching, and other uses.
See Property Reference for a complete list of EDI plugin properties and a procedure for modifying property values.
See the TIBCO ActiveMatrix BusinessWorks documentation for information about configuring thread pool size.
To Improve Performance
To improve performance, change the property value Interior_Server.tra from the .tra file.
The default value of the java.property.bmh.doc.validation.threads property is 16. This is done to allow for handling multiple transactions that are sent after processing when a document is received from a trading partner.
Tuning Flow Control
TIBCO BusinessConnect is built on top of TIBCO ActiveMatrix BusinessWorks, which flow control features you can use to throttle at the service configuration of the deployment. For example, when deployed in DMZ mode, you can set the flow control for Max Jobs from the Advanced tab of the Service Configuration of Interior Server.par, which is located in the bottom portion of the screen.
These are the TIBCO ActiveMatrix BusinessWorks processes that you can control using flow control:
Gateway/MSH/Outbound/From-BMH/RV Receiver  This RVCMQ listener controls certain kinds of MSH service jobs that can be processed. This is mainly used in EDI for batching, message queue and scheduling. Setting Max jobs at 10 is optimal. By default, the relay processes between multiple BusinessConnect engines are turned off.
Gateway/BMH/MiscMsg Receiver  This RVCMQ listener controls the certain kinds of BMH service jobs that can be processed. This is mainly used in EDI for batching, message queue and scheduling. Setting Max jobs at 10 is optimal. The default is unlimited.
Gateway/MSH/Inbound/From-DMZ/RV Receiver  This RVCMQ listener controls the number of inbound messages that is received from the partner. The default is to receive unlimited messages. The proper flow control value for max jobs in memory depends on the TIBCO ActiveMatrix BusinessWorks engine ThreadCount: a value of 16 is recommended.
Gateway/BMH/Inbound/From-MSH/RV Receiver   This RVCMQ listener controls the number of inbound messages that is received from the MSH sub-component. The default is to receive unlimited messages. A proper flow control value for max jobs in memory should be set: a value of 16 is recommended.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved