spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

I'm using RedisRateLimiter, but TPS drops a lot

Open Sunywdev opened this issue 3 years ago • 1 comments

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

Sunywdev avatar Jul 18 '22 02:07 Sunywdev

Probably because RedisRateLimiter needs to communicate with redis for per request, which increases the time

chenws1012 avatar Sep 03 '22 06:09 chenws1012

cus subsequent filters will be in the lettuce-nioEventLoop thread . check the top thread u will found lettuce-nioeventloop is very high

RexChengZhu avatar Mar 30 '23 01:03 RexChengZhu