What is the best way to implement a rate-limiting algorithm for web requests?
Possible/partial duplicates:
Possible/partial duplicates:
I’m building an ASP.NET MVC site where I want to limit how often authenticated users can use some functions of the site.