Parameter | Required | Description |
Whether to Enable | Yes | A traffic throttling rule takes effect after it is enabled. |
Traffic Throttling Configuration | Yes | Basic traffic throttling: Traffic is controlled based on the request quantity threshold. When the request quantity on this service exceeds the threshold within a set period, traffic throttling is triggered. Six time dimensions: second, minute, hour, day, month, and year are supported. Parameter-based traffic throttling: Traffic is controlled based on user request parameters and specified conditions. Filter conditions (optional): Only requests that meet certain filter conditions (IP address or path) are counted for traffic throttling. Traffic throttling conditions: Traffic throttling is triggered when the traffic throttling parameters reach the specified thresholds. Traffic can be controlled based on the Header, Cookie, Path, IP, and Query parameters. You can set a fixed traffic throttling threshold and use global configurations for refined configuration of different throttling parameter values. |
Count Policy | Yes | When the default Redis database is selected for storage, the counter is stored in the built-in Redis service node of the Cloud Native API Gateway instance to implement distributed traffic throttling, and the Redis service node can store a maximum of 3 million traffic throttling keys. When an external Redis database is selected, you can configure the Redis access address (server address, connection password, and timeout) to implement distributed traffic throttling at a larger scale. |
Traffic Throttling Processing Policy | Yes | Return directly: 429 is returned directly when traffic throttling is triggered. Custom return: When traffic throttling is triggered, HTTP response behavior is customized. The status code, response header, and response content are required. Request forwarding: After traffic throttling is triggered, you are redirected to the specified page and need to enter the request forwarding address. |
Request Queuing | No | Maximum request queuing period, ranging from 0 to 15 seconds. The value 0 indicates that a request is handled without latency. For values greater than 0, the gateway tries to handle a request every 1 second. If the request is not processed after the maximum queuing period reaches, the request will be throttled. |
Hide Traffic Throttling Response Headers | No | It is enabled by default. After traffic throttling response headers are hidden, the client will not receive response headers related to traffic throttling. |

{"1": 100,"2": 200}
Parameter | Required | Description |
Whether to Enable | Yes | A traffic throttling rule takes effect after it is enabled. |
Traffic Throttling Configuration | Yes | Basic traffic throttling: Traffic is controlled based on the request quantity threshold. When the request quantity on this service exceeds the threshold within a set period, traffic throttling is triggered. Six time dimensions: second, minute, hour, day, month, and year are supported. Parameter-based traffic throttling: Traffic is controlled based on user request parameters and specified conditions. Filter conditions (optional): Only requests that meet certain filter conditions (IP address or path) are counted for traffic throttling. Traffic throttling conditions: Traffic throttling is triggered when the traffic throttling parameters reach the specified thresholds. Traffic can be controlled based on the Header, Cookie, Path, IP, and Query parameters. You can set a fixed traffic throttling threshold and use global configurations for refined configuration of different throttling parameter values. |
Count Policy | Yes | When the default Redis database is selected for storage, the counter is stored in the built-in Redis service node of the Cloud Native API Gateway instance to implement distributed traffic throttling, and the Redis service node can store a maximum of 3 million traffic throttling keys. When an external Redis database is selected, you can configure the Redis access address (server address, connection password, and timeout) to implement distributed traffic throttling at a larger scale. |
Traffic Throttling Processing Policy | Yes | Return directly: 429 is returned directly when traffic throttling is triggered. Custom return: When traffic throttling is triggered, HTTP response behavior is customized. The status code, response header, and response content are required. Request forwarding: After traffic throttling is triggered, you are redirected to the specified page and need to enter the request forwarding address. |
Request Queuing | No | Maximum request queuing period, ranging from 0 to 15 seconds. The value 0 indicates that a request is handled without latency. For values greater than 0, the gateway tries to handle a request every 1 second. If the request is not processed after the maximum queuing period reaches, the request will be throttled. |
Hide Traffic Throttling Response Headers | No | It is enabled by default. After traffic throttling response headers are hidden, the client will not receive response headers related to traffic throttling. |
피드백