Rate limiting API

Sumeet More
Nov 9, 2022

Disclaimer: This article is based on my current knowledge and understanding. If you have any query or see any improvement, please mention in the comment section

Demo:

In this demo video, for particular user id, only 2 api requests are allowed within 10 seconds time span. If a particular user id sends more than 2 api requests within 10 seconds, he/she will get 429 http status code.

This demo was developed using .NET 7

~ Happy coding

--

--

Sumeet More

Associate Vice President at Kotak Securities | Backend Engineer and Architect| Blockchain & ML enthusiast | C#,.NET Core, Rust, Javascript and Go