rate-limiter-flexible counts and limits number of actions by key and protects from DDoS and brute force attacks at any scale. It works with Redis, process Memory, Cluster or PM2, Memcached, MongoDB, MySQL, PostgreSQL and allows to control of requests rate in single process or distributed environment. All operations in memory or distributed environments use atomic increments against race conditions. Combine limiters, block key for some duration, delay actions, manage failover with insurance options, configure smart key blocking in memory and many others. Average request takes 0.7ms in Cluster and 2.5ms in a Distributed application. See benchmarks. It provides a unified API for all limiters. Whenever your application grows, it is ready. Prepare your limiters in minutes. No matter which node package you prefer: redis or ioredis, sequelize/typeorm or knex, memcached, native driver or mongoose. It works with all of them.

Features

  • Atomic increments
  • Allow traffic bursts with BurstyRateLimiter
  • Flexible and fast
  • Ready for growth
  • Deno compatible
  • It uses fixed window as it is much faster than rolling window

Project Samples

Project Activity

See All Activity >

License

ISC License

Follow node-rate-limiter-flexible

node-rate-limiter-flexible Web Site

Other Useful Business Software
Create and manage the email signature you need Icon
Create and manage the email signature you need

For companies and organizations that need an email signature solution

With WiseStamp it’s easy to unify your brand and turn your emails into a powerful marketing tool. Get the most out of your emails with a professionally designed custom email signature.
Learn More
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Node-Rate-Limiter-Flexible is a powerful solution for rate-limiting in Node.js applications. It offers flexibility and ease of use to manage API requests effectively. With customizable settings, it efficiently prevents abuse, ensures optimal performance, and enhances overall application security. A must-have tool for handling high-traffic APIs.
Read more reviews >

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks, JavaScript Web Development Software, JavaScript Brute Force Tool

Registered

2022-10-31