Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9051525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:55:32+00:00 2026-06-16T12:55:32+00:00

Can anyone explain the differences, in IIS, between application pools, worker processes and app

  • 0

Can anyone explain the differences, in IIS, between application pools, worker processes and app domains? Also, how do they work together? I’ve read a couple of articles but it’s still a little confusing.

  1. Does each website created in IIS becomes an application?
  2. Is each application associated with one worker process?
  3. Where do app domains come into the picture?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T12:55:34+00:00Added an answer on June 16, 2026 at 12:55 pm

    I try to say them with other words.

    In a server you can have many asp.net sites that runs together. Each one site is an app domain.

    You must assign to each of them one application pool. Many application domains (sites) can have the same application pool, and because they have the same application pool they run under the same processes, and under the same account – and they have the same settings of the pool. If this pool restarts, then all sites under that pools restarts.

    Now each pool can have one or more worker process. Each worker process is a different program that’s run your site, have their alone static variables, they different start stop calls etc. Different worker process are not communicate together, and the only way to exchange data is from common files or a common database. If you have more than one worker process and one of them make long time calculations, then the other can take care to handle the internet calls and show content.

    When you assign many worker process to a single pool then you make the called web garden and your site is like to be run from more than one computer if a computer is one processing machine.

    app domains, with pools and processes

    Each worker process can have many threads.

    How the more worker process affect you:
    When you have one worker process everything is more simple, among your application all static variables are the same, and you use the lock to synchronize them.
    When you assign more than one worker process then you still continue to use the lock for static variables, static variables are not different among the many runs of your site, and if you have some common resource (e.g. the creation of a thumbnail on the disk) then you need to synchronize your worker process with Mutex.

    One more note. Its sounds that when you make more worker process then you may have more smooth asynchronous page loads. There is a small issue with the session handler of asp.net that is lock the entire process for a page load – that is good and not good depend if you know it and handle it – or change it.

    So let talk about one site only with many worker process. Here you face the issue that you need to synchronize your common resource change with Mutex. But the pages/handlers that use session they are not asynchronous because the session locks them. This is good for start because you avoid to make this synchronization of many points your self.

    Some questions on this topic:
    Web app blocked while processing another web app on sharing same session
    jQuery Ajax calls to web service seem to be synchronous
    ASP.NET Server does not process pages asynchronously
    Replacing ASP.Net's session entirely

    Now this session lock is not affect different sites.

    Among different sites the more worked process can help to not the one site block the other with long running process.
    Also among different sites the more pools also can help, because each pool have at least one worked process, but remember and see by your self using the process explorer, each working process takes more memory of your computer, and one big server with 16G memory and one SQL server can not have too many different worked process – for example on a server with 100 shared sites, you can not have 100 different pools.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone explain in a clear way the practical differences between the java.lang.annotation.RetentionPolicy constants
Can anyone explain to me the differences between these two regex approaches: /(\d)\1/ /(\d){2,}/
In the iPhone SDK, can anyone explain the difference between application DidFinishLaunching in delegate
Can anyone explain differences in practise between NSArrayContoller modes (Class / Entity}? I am
I have just started learning C#. Can anyone explain the technical differences between a
Can anyone explain the differences between Protocols and Categories in Objective-C? When do you
Can anyone explain what the major differences between the prcomp and princomp functions are?
Can anyone explain the difference between a fork and a thread?
Can anyone explain the difference between thread communication and process communication and give few
Can anyone explain me the difference of all and also an another question does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.