spring-cloud-gateway
spring-cloud-gateway copied to clipboard
I'm using RedisRateLimiter, but TPS drops a lot
I used RedisRateLimiter, but the TPS dropped very sharply, from 1400TPS to 700TPS, my version is 3.0.3, the response time of the interface has been improved from 29ms to 79ms, the back is just an empty interface without any processing logic, what should I do? What can be done to optimize him? Thanks
Probably because RedisRateLimiter needs to communicate with redis for per request, which increases the time
cus subsequent filters will be in the lettuce-nioEventLoop thread . check the top thread u will found lettuce-nioeventloop is very high