Azure函数: How to load balance between multiple Function apps in the same region

标签 azure azure-functions load-balancing serverless azure-traffic-manager

是否可以在同一区域的消费计划中的多个 Function 应用(例如 10 个)之间实现负载平衡?每个应用程序都具有相同的源代码,并且可以单独升级以防止停机。不幸的是,有时当我将更改部署到 Function 应用程序时,我会收到 503 错误,在这种情况下,我必须在门户中手动重新启动该应用程序。自动交换也有同样的问题。这在生产环境中是 Not Acceptable ,因此我正在考虑使用多个应用程序。我研究过使用流量管理器,但这似乎适合多区域部署。

最佳答案

您还可以将流量管理器用于位于同一区域的后端。但是,我宁愿建议使用 Azure Front Door,因为它提供更多功能和更快的故障转移时间。

关于Azure函数: How to load balance between multiple Function apps in the same region,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65627626/

相关文章:

azure - 从 Azure Function 访问管道事件状态

azure - 每当将 blob 添加到容器中时,将数据从 blob 存储发送到 cosmosDB 时,azure app-function 的绑定(bind)类型会出现问题

c# - SignalR 服务(无服务器)- Azure 函数

python - Azure函数错误: Error "SyntaxError: Unexpected token S in JSON at position 0" occurred while parsing the response body - Service Unavailable

python - 如果在先前的计算完成之前出现新请求,则 Tensorflow 服务失败

azure - Azure Databricks SparkSQL 是否支持递归查询

azure - Azure Functions for Javascript 中出现 serviceBusTrigger 未注册错误

c# - Azure Function 在 bin 文件夹中创建文件夹?

http - 基于查询字符串的 AWS 负载均衡

c# - 如何将一组字符串哈希转换为从 1 到 5 均匀分布的数字?