Comments (1)
This type of interaction would not scale if the application is deployed horizontally.
The point of Redis for this purpose, is to provide a single source of truth, and if we talk to it less frequently, we are no longer trusting Redis with that. If the requests are routed to the same node each time, sure, we don't "really" need to hit Redis each time, but because that isn't guaranteed, I'd recommend not changing the behavior.
You can use a memory based store if you want to reduce database interaction if that's the case.
from rate-limit-redis.
Related Issues (20)
- Unable to use rate-limit-redis. HOT 1
- document and recommend usage of send_command() instead of call() for ioredis HOT 2
- Get "NOSCRIPT No matching script. Please use EVAL" when redis pod restarts. HOT 11
- Add types to exports in package.json HOT 1
- Unable to handle connection loss HOT 3
- RedisStore is required with each limiter HOT 1
- Leaky bucket strategy HOT 1
- PromiseRejectionHandledWarning: Promise rejection was handled asynchronously HOT 16
- Cannot install rate-limit-redis 3.1.0 with express-rate-limit 7.0.0 HOT 3
- Issue with @nestjs/graphql HOT 4
- Invalid node version in documentation HOT 1
- Error with @types/rate-limit-redis HOT 1
- Unable to work with redis when cluster mode is enabled HOT 5
- ioredis setup HOT 2
- ioredis example shows the incorrect syntax for sendCommand HOT 3
- evalsha error when rebooting dev redis HOT 15
- Rate limiting should be ignored when Redis client is unreachable HOT 7
- Higher response time HOT 1
- Expired Key TTL is reset without value reset causing increment on stale key value HOT 3
- client.sendCommand is not a function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rate-limit-redis.