Skip to content

atharvagadkari05/Rate_limiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Custom made Rate Limiter in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published