Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Rack Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Rack::Tracker
Tracking made easy: Don’t fool around with adding tracking and analytics partials to your app and concentrate on the things that matter.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
As we use Puma as our webserver for our rails application, I quickly went to Puma's config file which typically resides in config/puma.rb. The config was set as
The first line of defense should be to put rate-limiting on your login endpoints. rack-attack can help with that. I recommend to limit the login attempts to 5 per minute for a username and block the IP for 30 minutes. You should also limit the number of login attempts from the same IP address, but this needs to be adjusted to the application you are working on, because if it is a tool used in classrooms, it might be legit to have 50 logins within a few minutes from the same IP. (I have a few post written about rack-attack)
Project mention: [Poll] How do you handle file attachments in your Rails app in 2023? | /r/rails | 2023-07-05Shrine is great, has more features and a simpler API (imo) than ActiveStorage https://shrinerb.com
The secure_headers gem will automatically apply several headers that are related to security. This includes:
This one file contains everything needed for this simplified app to run. Run it with ruby main.rb, which should spin up an instance of the Thin web server (the default web server that comes with Sinatra). Visit localhost:4567 and you'll see the JSON response.
Cuba (cuba.is)
Project mention: Vite Ruby: Bringing joy to your front end experience | news.ycombinator.com | 2023-11-30
Most of the speed I believe is from using the server iodine https://github.com/boazsegev/iodine which is a wrapper around facil.io https://facil.io that is built using C.
AWS Serverless Hero Ken Collins maintains a very popular Rails-Lambda package. After some discussion, he added the capability to track Proactive Initializations and came to a similar conclusion - in his case after a 3-day test using Ruby with a custom runtime, 80% of initializations were proactive:
Rack related posts
- Sinatra 4.0
- Would you consider Rails as stable nowadays ?
- Rails Authentication for Compliance
- Web Frameworks actively maintained in 2023?
- [Poll] How do you handle file attachments in your Rails app in 2023?
- How to Use Sinatra to Build a Ruby Application
- Recommended way to implement Puma plugin configuration
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source Rack projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Sinatra | 12,095 |
2 | Puma | 7,583 |
3 | Rack::Attack | 5,482 |
4 | Rack | 4,833 |
5 | Shrine | 3,143 |
6 | SecureHeaders | 3,129 |
7 | Split | 2,698 |
8 | Thin | 2,261 |
9 | Cuba | 1,431 |
10 | vite_ruby | 1,151 |
11 | rack-throttle | 948 |
12 | Iodine | 892 |
13 | Rack::Tracker | 642 |
14 | lamby | 579 |
15 | client_ruby | 500 |
16 | rack-app | 409 |
17 | Raxx | 398 |
18 | Plezi | 246 |
19 | Bugsnag | 246 |
20 | controller | 245 |
21 | tipi | 239 |
22 | prax.cr | 150 |
23 | capybara_discoball | 128 |
Sponsored