-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rate Limiting in Flask API #47
Comments
@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 |
However, I believe there are several reasons why my implementation should be considered for inclusion in this repository:
In Conclusion: |
@pratikj697 What is the TLDR of this? |
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.
The text was updated successfully, but these errors were encountered: