rack-throttle
Rack middleware for rate-limiting incoming HTTP requests. (by dryruby)
Sinatra
Classy web-development dressed in a DSL (official / canonical repo) (by sinatra)
rack-throttle | Sinatra | |
---|---|---|
1 | 10 | |
948 | 12,102 | |
0.0% | 0.2% | |
1.2 | 8.2 | |
about 1 year ago | 16 days 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.
Sinatra
Posts with mentions or reviews of Sinatra.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-07.
- Sinatra 4.0
-
How to Use Sinatra to Build a Ruby Application
Compared to Ruby on Rails, a full-stack web framework, Sinatra is a very lean micro-framework originally developed by Blake Mizerany to help Ruby developers build applications with "minimal effort".
-
Making AJAX Applications Crawlable? How to build a simple web service on Google App Engine to produce HTML Snapshots?
a Sinatra app hosted on Heroku on the domain http://example.com
- I created a simple router inspired by Ruby's Sinatra. What do you guys think?
- Escaping all path info with Shellwords.escape in Sinatra
-
How do I set up a Sinatra app under Apache with Passenger?
Let's say I have the simplest single-file Sinatra app. The hello world on their homepage will do. I want to run it under Apache with Phusion Passenger, AKA mod_rails.
- Learning Ruby:Rails:Routes:Controllers#beginner
-
Ruby on Rails VS Hanami - a user suggested alternative
3 projects | 11 Aug 2021
Sinatra is the oldest competitor of Rails. Although it's not that popular anymore, it's still used in some simple and performance focused services.
-
Does Anyone use Sinatra in Production?
Sinatra is fine as long as you have a small number of routes, because its router is O(n): https://github.com/sinatra/sinatra/blob/ac5404dbd897a4b3c5b3921d2f89fecd3b540ed3/lib/sinatra/base.rb#L1008-L1010
-
Hacktoberfest: 69 Beginner-Friendly Projects You Can Contribute To
https://github.com/sinatra/sinatra A classy web-development dressed in a DSL (official / canonical repo)
What are some alternatives?
When comparing rack-throttle and Sinatra you can also consider the following projects:
Rack::Attack - Rack middleware for blocking & throttling
Hanami - The web, with simplicity.
Puma - A Ruby/Rack web server built for parallelism
Roda - Routing Tree Web Toolkit
sane_patch - Making monkey patches sane again
Ruby on Rails - Ruby on Rails
Rack - A modular Ruby web server interface.
Padrino - Padrino is a full-stack ruby framework built upon Sinatra.
bestgems.org - Gem ranking and downloads trends providing service.
Cuba - Rum based microframework for web development.
redrate - An easy, distributed rate limiter using Redis
Camping - the 5k pocket full-of-gags web microframework