Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Scale up and Scale out App Service plan

Actually I am getting System.OutOfMemoryException for blob trigger azure function.Do i need to scale up or Scale out App Service Plan to fix this problem.

What is the difference between these two?

enter image description here

like image 430
Rakesh Kumar Avatar asked Dec 23 '22 17:12

Rakesh Kumar


1 Answers

For your original question, if your function is running on consumption plan, Scale up App Service Plan of your Azure service.The plan you already have less Memory and if you have multiple functions running in App Service Plan then scale out.

From the docs,

Scale up means :

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:

Scale Out means:

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.

Digram depicting the difference between the two :

enter image description here

like image 158
Sajeetharan Avatar answered Feb 23 '23 00:02

Sajeetharan