express-rate icon indicating copy to clipboard operation
express-rate copied to clipboard

Example with memory instead of redis?

Open PunkChameleon opened this issue 10 years ago • 3 comments

I think it could be helpful!

PunkChameleon avatar Mar 16 '14 04:03 PunkChameleon

Agree on that, I don't want to install redis just for rate limiting, and it's not something I want to persist across processes/apps. Is there an example how to use it somewhere?

max-degterev avatar May 22 '14 08:05 max-degterev

+1

jbenet avatar Jul 17 '14 21:07 jbenet

I agree and example would be good to have. From the code the default handler is the memory not redis.

https://github.com/ivolo/express-rate/blob/master/lib/rate.js#L15

ghost avatar Jul 18 '14 00:07 ghost