gpt4 book ai didi

Azure Functions 入站连接限制

转载 作者:行者123 更新时间:2023-12-02 07:00:08 27 4
gpt4 key购买 nike

如何增加消费计划中运行的 Azure Function App 允许的同时入站连接数?

我可以看到专用计划是无限制的,Azure 门户中是否有任何配置可以允许增加阈值?

最佳答案

azure fucntion的并发执行与具体触发器有关,可以引用parallel execution :

enter image description here

例如:

如果您的函数使用Http触发器,则可以使用maxConcurrentRequests,消费计划的maxConcurrentRequests默认值为100。您可以引用至host.json settings :

The maximum number of HTTP functions that are executed in parallel. This value allows you to control concurrency, which can help manage resource utilization. For example, you might have an HTTP function that uses a large number of system resources (memory/cpu/sockets) such that it causes issues when concurrency is too high. Or you might have a function that makes outbound requests to a third-party service, and those calls need to be rate limited. In these cases, applying a throttle here can help.*The default for a Consumption plan is 100. The default for a Dedicated plan is unbounded (-1).

关于Azure Functions 入站连接限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65169152/

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