There is a production environment with 2,500 apps in it and running 5 web worker roles.
How much memory should be allocated to each web worker role computer?
Click on the arrows to vote for the correct answer
A. B. C. D. E.Correct Answer: D
The average memory footprint for the applications in a production environment is about 70 MB.
This footprint can be used in the following equation to calculate the memory allocated to web worker role VMs or computers
No.
of provisioned apps * 70 MB * 5% - (no.
of web worker roles * 1044 MB)
Therefore, for the production environment with 2500 apps and running 5 web worker roles, the memory needs to be allocated to each web worker role can be calculated as:
2500*70*0.05 -(5*1044) = 3530 MB.Option A is incorrect.
As per the given scenario, 3530 GB is not the correct answer.
Option B is incorrect.
As per the given scenario, 7060 GB is not the correct answer.
Option C is incorrect.
As per the given scenario, 7060 MB is not the correct answer.
Option D is correct.
In the given scenario, the memory that needs to be allocated to each web worker role is 3530 MB.Option E is incorrect.
As per the given scenario, 10590 MB is not the correct answer.
Reference:
To know more about the capacity planning for App Service server roles in Azure Stack Hub, please visit the below-given link:
To determine the amount of memory that should be allocated to each web worker role computer, we need to follow a few steps:
Step 1: Determine the total amount of memory needed We know that there are 2,500 apps running and 5 web worker roles. This means that each web worker role will be responsible for running 500 apps. We need to determine how much memory is needed to run 500 apps.
To determine the memory requirements for each app, we would need to know more information about the apps themselves (such as their size and resource requirements). Without that information, we can make some assumptions.
Assuming each app requires an average of 512MB of memory to run, then the total memory required to run 500 apps would be:
500 apps x 512MB per app = 256,000MB or 256GB
Step 2: Determine the total memory required for all web worker roles We know that there are 5 web worker roles. To determine the total memory required for all web worker roles, we can multiply the memory required for one web worker role by 5:
256GB x 5 web worker roles = 1,280GB
Step 3: Determine the amount of memory to allocate per web worker role computer We need to allocate the total memory required for all web worker roles across the number of web worker role computers. We don't know how many computers there are, but we can assume that each web worker role computer will have the same amount of memory.
Without knowing the number of web worker role computers, we cannot give a definitive answer. However, we can use the provided answer choices to determine the closest approximation.
If we divide the total memory required for all web worker roles (1,280GB) by the number of web worker role computers, we can get an approximate amount of memory to allocate per computer.
A. 3530 GB RAM - This would be the amount of memory to allocate per computer if there were only 1 web worker role computer. B. 7060 GB RAM - This would be the amount of memory to allocate per computer if there were only 2 web worker role computers. C. 7060 MB RAM - This would be the amount of memory to allocate per computer if there were 2 web worker role computers, but the answer is given in MB instead of GB. D. 3530 MB RAM - This would be the amount of memory to allocate per computer if there were 10 web worker role computers. E. 10590 MB RAM - This would be the amount of memory to allocate per computer if there were 4 web worker role computers.
Based on the answer choices provided, the closest approximation to the amount of memory to allocate per web worker role computer would be:
B. 7060 GB RAM - assuming there are only 2 web worker role computers.