rack-throttle
sane_patch
rack-throttle | sane_patch | |
---|---|---|
1 | 3 | |
948 | 65 | |
0.0% | - | |
1.2 | 0.0 | |
about 1 year ago | over 2 years ago | |
Ruby | Ruby | |
The Unlicense | MIT License |
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
-
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.
sane_patch
-
What is the more accepted way of doing "monkey patching"?
Please consider using https://github.com/Jcambass/sane_patch so that the monkey patches won't be left forgotten forever
-
Gem for reminding us to revisit some parts of code
See also: https://github.com/Jcambass/sane_patch
-
Responsible Monkeypatching in Ruby
I have come to really like sane_patch when monkey_patching a gem.
What are some alternatives?
Rack::Attack - Rack middleware for blocking & throttling
kitchen-terraform - Test Kitchen plugins for testing Terraform configurations
Puma - A Ruby/Rack web server built for parallelism
todo_or_die - Write TODOs in code that ensure you actually do them
Sinatra - Classy web-development dressed in a DSL (official / canonical repo)
factory_bot - A library for setting up Ruby objects as test data.
Rack - A modular Ruby web server interface.
MailCatcher - Catches mail and serves it through a dream.
bestgems.org - Gem ranking and downloads trends providing service.
rubygems - Library packaging and distribution for Ruby.
redrate - An easy, distributed rate limiter using Redis
Karafka - Ruby and Rails efficient multithreaded Kafka processing framework