纵向扩展和横向扩展应用程序服务计划之间的区别
Difference between Scale up and Scale out App Service plan
实际上我得到 System.OutOfMemoryException for blob trigger azure function.Do 我需要扩展或扩展应用服务计划来解决这个问题。
这两个有什么区别?
您需要扩展您的应用服务计划。
"Scale up" 表示升级托管应用程序的主机的容量。例如:将内存从 1.75GB 增加到 3.5GB。
"横向扩展"表示通过增加主机实例的数量来升级应用程序的容量。
对于你原来的问题,如果你的功能是 运行 消费计划,扩展你的 Azure service.The 计划的应用程序服务计划你已经有更少的内存,如果你有多个功能 运行 在应用服务计划中然后横向扩展。
来自docs,
放大意味着:
A scale up operation is the Azure Web Sites cloud equivalent of moving
your non-cloud web site to a bigger physical server. So, scale up
operations are useful to consider when your site is hitting a quota,
signaling that you are outgrowing your existing mode or options. In
addition, scaling up can be done on virtually any site without
worrying 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 of
your web site and adding a load balancer to distribute the demand
between them. When you scale out a web site in Windows Azure Web Sites
there is no need to configure load balancing separately since this is
already provided by the platform.
描述两者之间差异的图表:
简而言之向上扩展 是垂直扩展,您可以在其中添加更多资源以增加底层的容量Hardware/Infrastructure。
其中,Scale Out 是横向扩展,您可以将同一应用的更多实例同时添加到 process/handle 请求。
实际上我得到 System.OutOfMemoryException for blob trigger azure function.Do 我需要扩展或扩展应用服务计划来解决这个问题。
这两个有什么区别?
您需要扩展您的应用服务计划。
"Scale up" 表示升级托管应用程序的主机的容量。例如:将内存从 1.75GB 增加到 3.5GB。
"横向扩展"表示通过增加主机实例的数量来升级应用程序的容量。
对于你原来的问题,如果你的功能是 运行 消费计划,扩展你的 Azure service.The 计划的应用程序服务计划你已经有更少的内存,如果你有多个功能 运行 在应用服务计划中然后横向扩展。
来自docs,
放大意味着:
A scale up operation is the Azure Web Sites cloud equivalent of moving your non-cloud web site to a bigger physical server. So, scale up operations are useful to consider when your site is hitting a quota, signaling that you are outgrowing your existing mode or options. In addition, scaling up can be done on virtually any site without worrying 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 of your web site and adding a load balancer to distribute the demand between them. When you scale out a web site in Windows Azure Web Sites there is no need to configure load balancing separately since this is already provided by the platform.
描述两者之间差异的图表:
简而言之向上扩展 是垂直扩展,您可以在其中添加更多资源以增加底层的容量Hardware/Infrastructure。
其中,Scale Out 是横向扩展,您可以将同一应用的更多实例同时添加到 process/handle 请求。