gpt4 book ai didi

Azure 缓存错误代码 :SubStatus Exeeded Quota Limits for this hour

转载 作者:行者123 更新时间:2023-12-02 06:42:47 32 4
gpt4 key购买 nike

我正在开发一个托管在 Windows Azure 中的 MVC 3 站点,该站点配置为使用 DistributedCacheSessionStateStoreProvider 来获取 session 状态,而 session 状态又在内部使用 Azure 缓存。缓存配置为:

<dataCacheClients>
<dataCacheClient name="default">
<hosts>
<host name="test.cache.windows.net" cachePort="XXXX" />
</hosts>
<securityProperties mode="Message">
<messageSecurity authorizationInfo="XXXX">
</messageSecurity>
</securityProperties>
<transportProperties receiveTimeout="45000" />
</dataCacheClient>
</dataCacheClients>

session 提供程序配置为

<sessionState mode="Custom" customProvider="AppFabricCacheSessionStoreProvider">
<providers>
<add name="AppFabricCacheSessionStoreProvider" type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache" cacheName="default" useBlobMode="true" />
</providers>
</sessionState>

我们自 4 月份起就开始使用此功能,但最近才开始使用 session 来存储更多数据。我们的测试缓存服务为 128 MB,据说允许 5 个并发连接。根据 Azure 管理控制台的数据,我们在任何给定时间使用此服务的最大容量为 0.34 MB。

在我们的日志中,我们经常看到此异常出现:

ErrorCode:SubStatus:There is a temporary failure. Please retry later. (The request failed, because you exceeded quota limits for this hour. If you experience this often, upgrade your subscription to a higher one). Additional Information : Throttling due to resource : Connections

根据我读过的文档,默认情况下数据缓存客户端的最大连接数设置为 1。我在两个实例上运行,我认为这意味着我总共使用两个连接。

请帮助我了解我做错了什么以及我可以采取哪些措施来解决此问题。

最佳答案

您不仅仅会受到存储使用量的限制。您还受到每小时事务数和每小时带宽的限制。对于 128MB 缓存:

  • 每小时 400,000 笔交易
  • 每小时 1,400 MB 带宽

您可能会遇到这两个边界条件之一吗?

有关 AppFabric 缓存 SLA 的更多详细信息,请查看此 MSDN blog post .

关于Azure 缓存错误代码 <ERRCA0017> :SubStatus<ES0009> Exeeded Quota Limits for this hour,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6852124/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com