stefanprodan / WebApiThrottle

ASP.NET Web API rate limiter for IIS and Owin hosting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global lock on throttle counter

giladsu opened this issue · comments

IIUC, there is one global lock being used when accessing throttle counters.

Has using a lock per throttle key been explored? Other than a larger memory footprint, are there any downsides? Any ideas on how much of a performance boost this would be?