rack-throttle
Rack middleware for rate-limiting incoming HTTP requests. (by dryruby)
sidekiq-throttler
Sidekiq middleware that adds the ability to rate limit job execution. (by gevans)
rack-throttle | sidekiq-throttler | |
---|---|---|
1 | 1 | |
948 | 233 | |
0.0% | - | |
1.2 | 0.0 | |
about 1 year ago | 5 months ago | |
Ruby | Ruby | |
The Unlicense | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rack-throttle
Posts with mentions or reviews of rack-throttle.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-24.
-
Need help designing architecture to handle API rate limit
rack-throttle is usually used to throttle incoming requests, but it has a generic [Second](Rack::Throttle::Second) class which could be used to throttle any operation to a maximum number per second. It stores its counter in either redis or memcache, which will work as the shared store and be performant.
sidekiq-throttler
Posts with mentions or reviews of sidekiq-throttler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-24.
-
Need help designing architecture to handle API rate limit
Haven't used it, but what about this gem - https://github.com/gevans/sidekiq-throttler
What are some alternatives?
When comparing rack-throttle and sidekiq-throttler you can also consider the following projects:
Rack::Attack - Rack middleware for blocking & throttling
redrate - An easy, distributed rate limiter using Redis
Puma - A Ruby/Rack web server built for parallelism
Sinatra - Classy web-development dressed in a DSL (official / canonical repo)
sane_patch - Making monkey patches sane again
Rack - A modular Ruby web server interface.
bestgems.org - Gem ranking and downloads trends providing service.