RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ratelimit initial public release

I just released the ratelimit gem. It was inspired by this article.

This is not intended to replace Rack::Throttle or any other inbound rate limiter but rather to help rate limit outbound traffic (SMS messages, emails etc). See the above article for specifics but it uses a bucketing method such that the rate limit is tracked as a rolling window rather than in large chunks like hours or days at a time. It uses Redis as a backend store meaning you can limit across multiple processes and/or servers.

Thanks!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in