gpt4 book ai didi

azure - Azure 搜索中的限制搜索查询是什么?

转载 作者:行者123 更新时间:2023-12-03 00:43:00 25 4
gpt4 key购买 nike

我正在为我的应用程序使用 azure 搜索,最近我遇到了性能问题。目前我正在调查问题,并发现了以下文章:

https://learn.microsoft.com/en-us/azure/search/search-performance-optimization#scaling-azure-search-for-high-query-rates-and-throttled-requests

它说:

Scaling Azure Search for high query rates and throttled requests

When you are receiving too many throttled requests or exceed your targetlatency rates from an increased query load, you can look to decreaselatency rates in one of two ways: Increase Replicas: A replica is likea copy of your data allowing Azure Search to load balance requestsagainst the multiple copies. All load balancing and replication ofdata across replicas is managed by Azure Search and you can alter thenumber of replicas allocated for your service at any time. You canallocate up to 12 replicas in a Standard search service and 3 replicasin a Basic search service. Replicas can be adjusted either from theAzure portal or PowerShell. Increase Search Tier: Azure Search comesin a number of tiers and each of these tiers offers different levelsof performance. In some cases, you may have so many queries that thetier you are on cannot provide sufficiently low latency rates, evenwhen replicas are maxed out. In this case, you may want to considerleveraging one of the higher search tiers such as the Azure Search S3tier that is well suited for scenarios with large numbers of documentsand extremely high query workloads.

现在我无法弄清楚限制请求是什么意思。谷歌没有帮助!

最佳答案

当错误率(请求失败并显示 207 或 503 状态代码)超过特定阈值时,Azure 搜索开始限制请求。最佳策略是对 207 和 503 响应使用指数重试策略来控制负载并完全避免限制。

被限制的请求具有 throttle-reason 响应 header ,其中包含有关请求被限制原因的信息。看来我们还没有记录这一点;我们将努力解决这个问题。

关于azure - Azure 搜索中的限制搜索查询是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45488105/

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