JMeter 中的 Redis 无法使用速率限制

问题描述 投票:0回答:1

我不知道,redis 是否无法使用我在 application.yml 中的配置?还是还有其他问题? ////////////////////////////// 我限制了20个可以通过的请求,在JMeter中我发起了50个请求,50个请求全部通过了。

spring redis gateway rate-limiting gate
1个回答
0
投票

我的配置.yml

春天: 雷迪斯: 主机:本地主机 端口:6379 云: 网关: 路线: - id:requestratelimiter_route uri:http://localhost:8081/ 谓词: - 路径=/人/** 过滤器: - 名称:请求速率限制器 参数: redis-rate-limiter.replenishRate: 10 redis-rate-limiter.burstCapacity: 20 redis-rate-limiter.requestedTokens: 1 服务器: 端口:5555

© www.soinside.com 2019 - 2024. All rights reserved.