干净飞鸟

文章
7
资源
0
加入时间
3年0月28天

高性能微服务网关APISIX - 常用插件(3)limit-reqlimit-connlimit-count

limit-req简介限制请求速度的插件,使用的是漏桶算法。属性名称类型必选项默认值有效值描述rateinteger必须rate > 0指定的请求速率(以秒为单位),请求速率超过 rate 但没有超过 (rate + burst)的请求会被加上延时。burstinteger必须burst >= 0t请求速率超过 (rate + burst)的请求会被直接拒绝。keystring必须[“remote_addr”, “ser