Allows system administrators to restrict the maximum rate at which a message flow can run at by setting the maximum rate property.
The system administrator is able to restrict the rate that an individual message flow can run at by setting the maximum rate property. The maximum rate is specified as the total number of input messages processed every second. The maximum rate value is divided equally among all threads that are running in the message flow irrespective of the number of input nodes within the flow.
To calculate the number of threads within a specific message flow:
The following three examples assume the maximum rate is set to 50, and helps to highlight some of the variations that can occur from basic to more complex scenarios:
If any individual thread exceeds their maximum rate allocation, a processing delay is introduced on that thread to keep the processing rate under the assigned maximum rate allocation.
The maximum rate is set within the BAR file under a property called maximumRateMsgsPerSec.
mqsiapplybaroverride –b BARfile -k applicationName -m sampleFlow#maximumRateMsgsPerSec=100
For more information, see mqsiapplybaroverride command.Additionally, once the BAR file is deployed, the property can be set dynamically within the flow through the IBM Integration API. Any change to the property is picked up immediately and does not require the flow to be restarted.
A maximum rate value of zero, or not set, causes the message flow maximum rate to be turned off. The default state is off.
Within the same integration server, a mixture of message flows can run along side each other, some with the maximum rate set, others with the maximum rate turned off.