Open pratikj697 opened 2 weeks ago
@pratikj697 But it is an express api, Why you have written flask?
@pratikj697 But it is an express api, Why you have written flask?
Thank you for your feedback! I appreciate the opportunity to clarify. The implementation I provided is based on a Flask API written in Python. It focuses on rate limiting using Redis, which is an essential feature for managing client requests effectively.
I mistakenly mentioned it in the context of the repository without realizing it was intended for an Express API, which uses Node.js.
@pratikj697 But you can use simple rate-limit libraries also. https://www.npmjs.com/package/express-rate-limit
@pratikj697 But you can use simple rate-limit libraries also. https://www.npmjs.com/package/express-rate-limit
However, I believe there are several reasons why my implementation should be considered for inclusion in this repository:
In Conclusion: I believe this implementation aligns with the goals of the repository and can provide value to users looking for a Python-based solution for rate limiting in Flask. I’m open to further discussion and am happy to make adjustments based on your insights.
@pratikj697 What is the TLDR of this? You want to implement your flask method in node js?
In any web application, especially APIs, it’s essential to manage the rate at which clients can make requests to prevent abuse, ensure fair usage, and protect server resources. Without a rate limiting mechanism, malicious users could potentially overwhelm the server by making a large number of requests in a short period, leading to denial of service (DoS) attacks or degradation of service for legitimate users.
Please assign this problem to me under HactoberFest 2024 and i hope this topic is useful in your current project.