Throttles Overview
This section explains the throttle functionality of TIBCO API Exchange Gateway.
TIBCO API Exchange Gateway supports throttles to control the flow of requests from the client to the target operations. TIBCO API Exchange Gateway uses a throttle policy to determine if a client request should be passed on to a target operation or rejected. TIBCO API Exchange Gateway uses the throttles for the following operations:
- Protect the target operations from overuse
- Maintain the limit of requests load on a target operation
- Protect the target operation to be accessed by unauthorized partners
- Enforce the service level agreements at a partner level
Using throttles, you can define the maximum number of requests that are handled by a target operation in a defined time interval. You must define the maximum count and a time interval for the throttle.
The throttles define a condition for a throttle type and metric (entity). TIBCO API Exchange Gateway checks the condition for an incoming request before processing the request. For example, you can define a condition to allow only five client requests within 10 seconds to the target operation for a partner request.
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.
- Facade Throttles
Facade throttles are designed for the partners, partner groups, and partner+operation. The Core Engine applies the facade throttle after it identifies the facade operation. - Service Throttles
Service throttles are designed for a target operation. The Core Engine applies the service throttle after it identifies the target operation. - Throttle Types
TIBCO API Exchange Gateway supports the following types of throttles: - Monitor Time Modifiers
- Throttle Chaining
- Throttle Counter
The throttle counter provides the type of counter used to increment the throttle count. - Configuring Throttles
- Content Based Throttles
Overview of content based throttles. - Payload Size Throttles
Overview of Payload size throttles. - Traffic Shaping
- Shared Throttles Overview
Use the shared throttles functionality to share the maximum throttle count for a throttle between the running engine instances.