Azure memory usage for using multiple websites with the same DLL

We are moving a number of cloud services web roles to Azure websites - we are currently working on the App Service service / pricing plan - standard environment 1.

All websites are identical, and at some point we will rewrite the code base to be properly populated. However, we currently host them as multiple websites on the same Azure web hosting plan.

In terms of memory usage, Azure shares identical DLLs, for example. all nuget packages / basic dll application? Or do we need enough memory to upload a copy of each dll to websites? In fact, I hope to share that you can share common assemblers through AppPools.

I saw mention of the settings that MS added to IIS to support better density for hosting providers. I believe .Net 4.5 has added support for internally Dll . Are there any settings, etc. that affect how Azure handles this situation? We are currently working on 94% of our 3.5 GB memory consumption and want to understand if we need to scale soon. I would hope that Azure could do something under the covers, as it is obvious that MS wants to maximize density.

+7
dll iis azure azure-web-sites multi-tenant
source share
1 answer

Each WebApp is isolated by the application, so if you have multiple copies of the same site, even if they are identical, they will all load their own copy of the assembly into memory.

There is also a secure sandbox due to the multitasking service, so interning will not work against this.

To track memory usage, you can see the application’s maintenance plan. The explorer process is also useful (WebApp> tools> process explorer)

+2
source share

All Articles