This is a project which demonstrates the different Rate Limiter algorithms. This project only deals with the basic idea behind each of these algorithms. It does not delve deep into the specific implementations. Each of these algorithms is implemented in different ways by different systems worldwide.
The algorithms included here:
Used by Amazon and Stripe.
Used by Shopify
This project also includes unit tests to test these algorithms. I have added at least one test for each of these algorithms: