473,378 Members | 1,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Application Pools

I plan to install multiple Web applications installed on a single Web
server. Should I create each Web site in its own Application pool?

I'd appreciate any recommendations, guidelines or links to articles.

Nov 19 '05 #1
1 1357
Hi Gordon,

That really depends on your needs. I tend to go with sticking multiple apps
into a single Application Pool to minimize resource usage as each pool needs
to host the .NET runtime, compilers etc. so unless there's a specific need I
wouldn't use separate pools. You can always move them later if the need
arises.

Good reasons to use Application Pools:

* You need isolated security
Each app may require different permissions or allow access for specific
users.
This is typi8cally the case in hosted scenarios. Remember Application
Pools are
essentially IIS worker process EXE instances with their own security
settings
and process environment and configuration settings for lifetime management
and crash protection (ie. the AppPool pinging and process counters to
decide
when to restart the process etc.)

* You are worried about process isolation
Again this is a security issue. If you have multiple apps running in a
single
AppDomain there's potential that htese apps can access each other's memory
or corrupt each other. Applications still run in their own AppDomains, so
this
isn't a huge issue, but still if you are security sensitive and dealing
with multiple
business entities it might make sense to isolate.

* Multiple processors
In some instances when multiple processors are present it's more efficient
to
run with separate AppDomains. You can achieve this same efficiency with
Web Gardens for a single app, so again this isn't a big reason.
Overall, the main question to ask is if you need process isolation,
primarily for security.If you don't there's no big need to use separate
AppDomains.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
http://www.west-wind.com/wwThreads/
----------------------------------
Making waves on the Web
"Gordon Smith" <GS@NoSpam.net> wrote in message
news:e7**************@TK2MSFTNGP12.phx.gbl...
I plan to install multiple Web applications installed on a single Web
server. Should I create each Web site in its own Application pool?

I'd appreciate any recommendations, guidelines or links to articles.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
1
by: dreamlinetheater | last post by:
I have several sites running on Windows 2003 Server in true IIS 6 mode with Application pools. One site has about 9 Virtual Directories in it that are all configured to run as applications. Each...
21
by: Chris | last post by:
I'm trying to get an existing VS.NET project up on my Win2003 server and I get the following error (on the actual website page): "It is an error to use a section registered as...
3
by: Chris Botha | last post by:
Hi, I've installed Framework 2.0 runtime on a 2003 Server that had Framework 1.1 installed. If I run a 1.1 Web app first it runs OK, then if I try to run a 2.0 Web app I will get the error...
11
by: Ravi Ambros Wallau | last post by:
Dear friends: This is my third question on this news in three days... Sorry for this spam behavior :-) I've a lot of problems on "first page load" after some change on web.config or even in the...
6
by: M Craig | last post by:
I'm trying to write a custom installation engine to plug into our existing build system. Some things I'm trying to do are, Create/Delete/Start/Stop Application Pools, Web Sites, and Virtual...
4
by: Diffident | last post by:
Hello All, IIS 6.0 - I have an application which resides in its own application pool. Does anyone know if we can create multiple application pools for the same application? If we can create...
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
6
by: Dylan Nicholson | last post by:
Running as an administrator, I can retrieve the account password stored by IIS for any application pool (using the WAMUserPass property). But, unsurprisingly, an ASP.NET application running inside...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.