![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
A throttle policy is defined using the Monitors tab of the Config UI. After defining a throttle policy, the policy can be applied to a metric such as partner, partner group, partner operation, or target operation.
•
• You may define the rate throttles for any metric if you want to measure the number of requests within a small time interval. After each request is processed, the current throttle count is usually incremented by 1, if the throttle counter is set to Request Count. See Throttle Counter for the details.
For a rate throttle, define throttle interval (in seconds) and throttle max limit. The throttle max limit is reset as specified by Throttle UpdateInterval. See Throttle UpdateInterval.
The quota usage statistics are displayed on the Organizations page of the Management Portal. See the “Configuring the API Exchange Engine and the Portal Engine" section in Chapter 2 of the TIBCO API Exchange Getting Started guide, "Deploying the Product Components” for configuration details.To support quota throttle notification, start each engine instance using the -n EngineName parameter for the asg-engine command:For example, on the Windows platform, run the asg-engine as follows:where EngineName specifies a unique engine name.
For an error throttle, define throttle interval (in seconds) and throttle max count. The throttle max count is reset as specified by throttle updateInterval. See Throttle UpdateInterval.
Figure 18 Throttle Types
Table 87 Throttle Time Modifers
• The time zone for time modifiers should match the Server Time Zone of the Joomla! -based portal of TIBCO API Exchange. Refer to TIBCO API Exchange Manager Adapter for Joomla User's Guide to set the Server Time Zone under Location Settings of the system.The throttle count is incremented by the size of request payload message (in bytes) after each request is processed. The Input Payload Size throttle counter is used for Payload size throttle type. See Payload Size Throttles.The throttle count is incremented by the size of response payload message (in bytes) after each request is processed. The Output Payload Size throttle counter is used for Payload size throttle type. See Payload Size ThrottlesThe throttle count is incremented by the size of both request and response payload messages (in bytes) after each request is processed. The Transaction Payload Size throttle counter is used for Payload size throttle type. See Payload Size ThrottlesThe default value for Throttle UpdateInterval is 10 seconds. This means that the Core Engine refreshes the throttle count allowed for the next 10 seconds using the Interval and Max Limit parameters configured for the throttle Instance in the Config UI. For example, if the Interval is 60 seconds and Max Limit is 6, at most 1 request is allowed every 10 seconds.Throttle UpdateInterval is defined by the following property in the ASG_CONFIG_HOME/asg.properties file.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |