integrate-io icon indicating copy to clipboard operation
integrate-io copied to clipboard

Add Rate Limiting to API

Open uzaxirr opened this issue 3 years ago • 4 comments

2 or 1 Request per second

uzaxirr avatar Nov 05 '21 12:11 uzaxirr

@uzair-ali10 what are you using nginx on production to route requests between dns and server?

brijeshshah13 avatar Nov 28 '21 10:11 brijeshshah13

@uzair-ali10 what are you using nginx on production to route requests between dns and server?

Nope, we don't use Nginx as of now, rate-limiting should be implemented using Express Rate Limit package

https://www.npmjs.com/package/express-rate-limit https://www.geeksforgeeks.org/how-to-integrate-express-rate-limit-in-node-js/

uzaxirr avatar Nov 28 '21 10:11 uzaxirr

cool. please assign this to me. also, if not nginx, how are the requests being routed?

brijeshshah13 avatar Nov 28 '21 10:11 brijeshshah13

cool. please assign this to me. also, if not nginx, how are the requests being routed?

Cloudflare

uzaxirr avatar Nov 28 '21 10:11 uzaxirr