IIS中的最佳做法是什么?每个应用程序有一个应用程序池,还是共享的应用程序池? [英] What is best practice in IIS? One application pool for each application, or a shared application pool?

查看:62
本文介绍了IIS中的最佳做法是什么?每个应用程序有一个应用程序池,还是共享的应用程序池?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IIS 7中,最佳实践是什么?我应该为每个应用程序创建一个应用程序池,还是应该与尽可能多的应用程序共享一个应用程序池?

In IIS 7, what is best practice? Should I create an application pool for each application, or should I share an application pool with as much application as possible?

是否存在与这些选项之一相关的性能缺陷或安全性问题?

Are there any performance drawbacks or security issues related to one of the options?

推荐答案

每个应用程序池都是W3wp.exe的实例,W3wp.exe是该网站或网站集的辅助进程.通过将每个应用程序放在单独的应用程序池中,可以确保可能导致应用程序池内问题的问题不会引起其他应用程序的问题.就资源而言,像这样进行操作显然会产生开销.

Each application pool is an instance of W3wp.exe, a worker process for that site or set of sites. By placing each application in a seperate app pool, you ensure that problems that could potentially cause problems within the app pool do not cause problems with other applications. There is obviously an overhead to operating like this in terms of resources.

因此,通常,对于简单的网站和博客,我通常将它们放在共享的应用程序池中.对于更密集或重要的应用程序,我将其划分为单个应用程序池.这只是我操作的指南.

So generally, for simple sites and blogs I usually put these in a shared app pool. For more intensive or important applications, I seperate into individual app pools. This is just a guide to how I operate.

我相信IIS7现在可以在创建网站时创建单独的应用程序池(虽然不是100%).

I believe IIS7 now creates seperate app pools when you create a web site (not 100% though).

这篇关于IIS中的最佳做法是什么?每个应用程序有一个应用程序池,还是共享的应用程序池?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆