jhurliman / node-rate-limiter

A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled
MIT License
1.51k stars 135 forks source link

Support for out of process cache (e.g. redis) #54

Closed goldbergyoni closed 5 years ago

goldbergyoni commented 6 years ago

To prevent brute-force in a multi-server scenario the cache/tokens should be store in some external storage, do you support this?

jhurliman commented 5 years ago

No, this project is intended to be a pure JS implementation with no dependencies or (built-in) interfaces to backing data stores. If you are looking for an all-in-one solution that coordinates across distributed systems, take a look at https://github.com/Tabcorp/redis-rate-limiter