Azure函数: Is using gcServer recommended for consumption plans?

标签 azure azure-functions azure-cosmosdb azure-function-app

我正在浏览 perf improvements 的列表可以针对 Cosmos DB 进行制作。我的 API 以消费模式托管在 Function 应用程序中。是否建议为 Azure Functions 打开 gcServer

有关于gcServer的更多信息here .

For single-processor computers, the default workstation garbage collection should be the fastest option. Either workstation or server can be used for two-processor computers. Server garbage collection should be the fastest option for more than two processors. Most commonly, multiprocessor server systems disable server GC and use workstation GC instead when many instances of a server app run on the same machine.

消耗计划中的事件实例中有多少个处理器运行?

最佳答案

How many processors run in an active instance in a consumption plan?

消耗计划中 Functions 主机的每个实例仅限于 1.5 GB 内存和一个 CPU。所以只有 1 个处理器可以实现这一点。更多详情,您可以引用this article .

关于Azure函数: Is using gcServer recommended for consumption plans?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64690969/

相关文章:

azure - 获取上次运行 Azure 函数的时间

node.js - 移动服务+DocumentDB附件

mongodb - Azure Cosmos DB 是否不支持 MongoDB/Mongoose 唯一索引?

azure - 集中管理的 Azure 管道

c# - Azure API 管理服务无法识别 swagger

c# - 使用Azure功能下载文件并将其存储到Azure

c# - 从 Cosmos 中删除数据时出现分区键错误

c# - Azure 移动服务 TableController 不返回内部对象

azure - 如何在使用 Azure cloudshell 克隆 Web 应用程序时修复 'conflicts with an already existing hostname'

Azure Function - 调整所有容器(而非特定容器)存储在 Blob 存储中的图像大小