Approaches to Web API request throttling

Зал 3 | 12:00

EN

Speaking from experience building MyGet.org: users are insane. If you are lucky, they use your service, but in reality, they probably abuse. Crazy requests, lots of requests, request bursts — these all pose a potential threat to the health of your web application and may impact other users or the service as a whole. Ideally, we can apply some filtering at the front door: limit the number of requests over a given timespan, limiting bandwidth...

In this talk, we’ll explore several approaches to Web API request throttling. In the web framework, in process, at the server level, using a service like CloudFlare or Azure API Management... We will cover ways of shooting yourself in the foot (or not) and cover the advantages and disadvantages of each solution, resulting in a happy service and happy customers.


Maarten Balliauw
Maarten Balliauw maartenballiauw

JetBrains

Maarten Balliauw loves building web and cloud apps. His main interests are in ASP.NET MVC, C#, Microsoft Azure, PHP and application performance. He co-founded MyGet and is Developer Advocate at JetBrains. He’s an ASP Insider and a former MVP for Microsoft Azure. Maarten is a frequent speaker at various national and international events and organizes Azure User Group events. In his free time, he likes brewing his own beer. Maarten’s blog can be found at http://blog.maartenballiauw.be.


Все доклады