gpt4 book ai didi

azure - 纵向扩展和横向扩展应用服务计划之间的区别

转载 作者:行者123 更新时间:2023-12-03 20:04:50 34 4
gpt4 key购买 nike

实际上,我遇到了 blob 触发 azure 函数的 System.OutOfMemoryException。我是否需要纵向扩展或横向扩展应用服务计划来解决此问题。

这两者有什么区别?

enter image description here

最佳答案

对于您原来的问题,如果您的函数正在消耗计划上运行,请扩展您的 Azure 服务的应用程序服务计划。该计划您已经拥有较少的内存,如果您在应用程序服务计划中运行多个函数,则进行扩展。

来自docs ,

扩大规模意味着:

A scale up operation is the Azure Web Sites cloud equivalent of movingyour non-cloud web site to a bigger physical server. So, scale upoperations are useful to consider when your site is hitting a quota,signaling that you are outgrowing your existing mode or options. Inaddition, scaling up can be done on virtually any site withoutworrying about the implications of multi-instances data consistency.Two examples of scale up operations in Windows Azure Web Sites are:

横向扩展意味着:

A scale out operation is the equivalent of creating multiple copies ofyour web site and adding a load balancer to distribute the demandbetween them. When you scale out a web site in Windows Azure Web Sitesthere is no need to configure load balancing separately since this isalready provided by the platform.

描述两者之间差异的图表:

enter image description here

关于azure - 纵向扩展和横向扩展应用服务计划之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63260033/

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