add distribute redis rate limiter
add one distribute redis rate limiter implement. reduce interaction on redis in less stringent scenario.
@caichengw Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@caichengw Thank you for signing the Contributor License Agreement!
@spencergibb @ryanjbaxter Can you review and merge this PR? This PR looks great, and it should be a very efficient rate limiter, since we don't need to send request to Redis for every incoming request.
Regards
I want to move away from custom rate limiters, see #2955. You're more than welcome to publish it on your own.