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 rate-limiting Open-Source Projects
-
Sentinel
A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
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.
-
go-doudou
go-doudou(doudou pronounce /dəudəu/)is OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.
-
nuxt-security
🛡 Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware
-
openappsec
open-appsec is an open-source machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs. It is available for NGINX, NGINX Ingress, Envoy (Soon), Kong (Soon), Ambassador (Soon).
-
ex_rated
ExRated, the Elixir OTP GenServer with the naughty name that allows you to rate-limit calls to any service that requires it.
-
LibreQoS
A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
-
express-slow-down
Slow down repeated requests; use as an alternative (or addition) to express-rate-limit
-
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.
Implementing API rate limiting in your Node.js project is an important step toward maintaining the stability and reliability of your application. With the use of packages like express-rate-limit or rate-limiter-flexible, you can easily set limits on requests and prevent abuse of your API by malicious users.
express-rate-limit is an npm library that provides a rate limiting middleware for Express, so it's easier to limit repeated requests to all APIs or only to specific endpoints. The middleware allows you to control how many requests the same user can make to the same endpoints before an application starts returning 429 Too Many Requests errors.
Project mention: Implementing Rate Limiting in a Spring Boot API using Bucket4j | dev.to | 2024-04-14
Project mention: How can i improve my web scraper to be less abusive to the website. | /r/node | 2023-06-30
Project mention: Goralim – A rate limiting package for Go to handle distributed workloads | news.ycombinator.com | 2024-04-02Fun weekend project but definitely not production-ready (no tests, no error handling, etc.). If readers are looking for something production-ready to use, consider https://github.com/go-redis/redis_rate (which implements GCRA/leaky bucket), or https://github.com/ulule/limiter (which uses a much simpler algorithm, but has good middleware).
Project mention: Implementing Natural Conversational Agents with Elixir | news.ycombinator.com | 2024-04-18The scaling story in Elixir is so nice, I just implemented eventual consistency for calculating average ratings on a Class/Instructor level and it was 20 lines of code in a GenServer that can be tested and is super clear how it works. I'm not even sure how you'd do something like this in Javascript or Python but it would probably involve extra infrastructure that is another moving piece to deploy, manage and can cause failures. The same is true with rate limiting and something like Hammer (https://github.com/ExHammer/hammer).
The command nuxi module add allows you to skip the second step in the list. So for modules like Nuxt Security right now, you only need to run the first step and nuxi will automatically register the module so that you can get started with the module right away.
Project mention: Seeking contributors for a security open-source project | /r/developersIndia | 2023-09-16If someone in the community is interested in doing these projects, we will be happy to guide and help you. The contributions guidelines are available here: https://github.com/openappsec/openappsec/blob/main/CONTRIBUTING.md
Project mention: 5 Node.js security code snippets every backend developer should know | dev.to | 2024-02-29fastify-rate-limit is a plugin for the Fastify web framework that provides an easy-to-use interface for implementing rate limiting in your Node.js applications. The plugin lets you specify the maximum number of requests a client can make within a specific timeframe and the response to send when this limit is exceeded.
express-slow-down provides a rate limiting middleware built on top of express-rate-limit. Instead of blocking requests outright, express-slow-down slows down the processing of incoming requests that exceed defined limits.
rate-limiting related posts
- How to Implement Rate Limiting in Express for Node.js
- my first 100 stars on the GitHub repo
- Goralim – A rate limiting package for Go to handle distributed workloads
- 5 Node.js security code snippets every backend developer should know
- How can i improve my web scraper to be less abusive to the website.
- Highly configurable resource usage/limit tracker
- .Net 7 rate limiting with redis distributed cache with tenant based architecture
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Apr 2024
Index
What are some of the best open-source rate-limiting projects? This list will help you:
Project | Stars | |
---|---|---|
1 | nginxconfig.io | 27,057 |
2 | Sentinel | 21,929 |
3 | AspNetCoreRateLimit | 3,048 |
4 | rate-limiter-flexible | 2,871 |
5 | express-rate-limit | 2,719 |
6 | bucket4j | 2,151 |
7 | bottleneck | 1,737 |
8 | ratelimit | 1,474 |
9 | go-doudou | 1,395 |
10 | redis_rate | 756 |
11 | hammer | 697 |
12 | nuxt-security | 700 |
13 | openappsec | 651 |
14 | governor | 498 |
15 | ex_rated | 446 |
16 | fastify-rate-limit | 445 |
17 | aiolimiter | 426 |
18 | slidingwindow | 370 |
19 | LibreQoS | 365 |
20 | limiter | 364 |
21 | limiters | 322 |
22 | laravel-rate-limited-job-middleware | 321 |
23 | express-slow-down | 244 |
Sponsored