Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 1.11 KB

README.md

File metadata and controls

10 lines (6 loc) · 1.11 KB

Rate Limiter

I created a Rate limiter which will limit users to a particular API. It will protect the API from external attacks like DDoS. It will also protect the usage of the API.

Design

image

I have implemented a server-side rate limiter using the sliding window count algorithm and Redis for storing user request data. This implementation allows for efficient and accurate rate limiting, ensuring that users do not exceed predetermined limits on their requests. Furthermore, my implementation can be easily integrated with an API Gateway, enabling scalable and robust rate limiting for distributed systems. As I continue to develop my rate limiter, incorporating token bucket or leaky bucket algorithms will offer additional options for efficient rate limiting, providing even greater control and flexibility in managing user requests. By leveraging these advanced algorithms, I can further enhance the performance and resilience of my rate limiter, allowing for reliable and secure service delivery to my users.