viafintech / gcra-ruby

Generic cell rate algorithm (leaky bucket) implementation for rate limiting
MIT License
51 stars 10 forks source link

Redis performance #3

Closed brasic closed 5 years ago

brasic commented 5 years ago

We are using this gem at ShippingEasy to manage rate limiting API endpoints. It works great, but while reviewing the source I found a few areas where its performance could be improved:

tobischo commented 5 years ago

Released v1.0.4 https://rubygems.org/gems/gcra/versions/1.0.4 with your changes

Thank you for your contribution :-)

brasic commented 5 years ago

Thanks for the fast review and this very useful gem!