Can someone recommend a way to rate limit different endpoints dependent on an api key for a node/express api deployed and clustered with PM2?If I want to set a global rate limit of 1000 requests per hour for a certain api key, is there a way to have that apply to a pm2 cluster? Or do I just divide that number by the number of instances on my deployment box?Thanks
Submitted July 11, 2018 at 08:17PM by tacticaltaco308
No comments:
Post a Comment