-
-
Notifications
You must be signed in to change notification settings - Fork 163
Home
Roman edited this page Feb 15, 2024
·
34 revisions
Welcome to the rate-limiter-flexible wiki!
Promisified rate limiter, brute-force and DDoS protection suitable for distributed high traffic node.js applications.
Get started
Middlewares and plugins
Migration from other packages
Limiters:
- Redis
- Memory
- DynamoDB
- Prisma
- MongoDB (with sharding support)
- Postgres
- MySQL
- Cluster
- PM2 Cluster
- BurstyRateLimiter
- Memcached
- RateLimiterUnion
- RateLimiterQueue
Wrappers:
- RLWrapperBlackAndWhite Black and White lists
Knowledge base:
- In-memory Block Strategy
- Insurance Strategy
- Comparative benchmarks
- Smooth out traffic peaks
- Consume points evenly
-
Usage example
- Minimal protection against password brute-force
- Login endpoint protection
- Websocket connection prevent flooding
- Dynamic block duration
- Different limits for authorized users
- Different limits for different parts of application
- Block Strategy in memory against massive DDoS
- Insurance Strategy
- Third-party API, crawler, bot rate limiting
Get started
Middlewares and plugins
Migration from other packages
Limiters:
- Redis
- Memory
- DynamoDB
- Prisma
- MongoDB (with sharding support)
- PostgreSQL
- MySQL
- BurstyRateLimiter
- Cluster
- PM2 Cluster
- Memcached
- RateLimiterUnion
- RateLimiterQueue
Wrappers:
- RLWrapperBlackAndWhite Black and White lists
Knowledge base:
- Block Strategy in memory
- Insurance Strategy
- Comparative benchmarks
- Smooth out traffic peaks
-
Usage example
- Minimal protection against password brute-force
- Login endpoint protection
- Websocket connection prevent flooding
- Dynamic block duration
- Different limits for authorized users
- Different limits for different parts of application
- Block Strategy in memory
- Insurance Strategy
- Third-party API, crawler, bot rate limiting