Closed Uzlopak closed 1 year ago
@metcoder95
It was https://github.com/fastify/fastify-rate-limit/issues/290
I found it kind of challenging. Also tbh. there was no simple implementation of throttle stream. All of them on npm are kind of overcomplicated solutions.
I am currently investigating how we can have a way to implement it on multiple instances with a redis store or something like this. First lets get this implemented and then adapt it for multi service.
How would a test for this plugin even work?
@a-a-GiTHuB-a-a What you mean?
How would we test to make sure the package throttles requests properly?
Ok, well I merge this, and hope somebody releases it. (Looking at @Eomm )
Lets see when the first people complain, that the throttling does not work and it is total garbage LOL
Checklist
npm run test
andnpm run benchmark