azure web api throttle没有aure API管理

问题描述 投票:0回答:1

我们开发了一些web api并部署到azure。现在我们正在实施一些速率限制策略。

我们查看了Azure API Management,但目前价格太高了。那么还有其他选择吗?由于azure web应用程序有多个实例,旧方法(HttpRuntime.CacheConcurrentDictionary)现在无法提供帮助。

c# azure-web-sites throttling
1个回答
0
投票

https://docs.microsoft.com/en-us/azure/architecture/patterns/throttling上有一些模式建议,但建议的模式与API Management提供的设置策略的程度不同。我会仔细看看https://docs.microsoft.com/en-us/azure/architecture/patterns/queue-based-load-leveling,因为它提供了我认为最接近限制请求。

© www.soinside.com 2019 - 2024. All rights reserved.