All Products
Search
Document Center

API Gateway:Throttling

Last Updated:Feb 07, 2025

This topic provides a feature overview of the throttling plug-ins provided by Cloud-native API Gateway. This helps you better understand and use these plug-ins to enhance system performance and stability and improve managerial flexibility and efficiency.

Plug-in

Description

key-rate-limit

The key-rate-limit plug-in implements throttling based on specific key values. Key values can be obtained from URL parameters or HTTP request headers.

http-real-ip

The http-real-ip plug-in is the WebAssembly implementation of Module ngx_http_realip_module.

hsts

HTTP Strict Transport Security (HSTS) is a security protocol that is designed to enhance the security of web applications.

canary-header

The canary-header plug-in adds specific headers to requests based on a specified percentage. After a header is added to requests, routes are re-matched. You can use cloud-native gateways with this plug-in to implement routing for percentage-based canary releases without the need for the client requests to carry a canary header.

The cluster-key-rate-limit plug-in implements cluster throttling based on Redis. This plug-in is suitable for scenarios where you need to implement global consistent throttling across multiple Higress Gateway instances.

You can use the traffic-tag plug-in to tag request traffic based on weight or specific request content by adding specific request headers. You can use the traffic-tag plug-in to configure complex-logic rules for traffic tagging.