Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
By in .NET on Aug 19 2006
  • jassi chauhan
    Aug, 2006 23

    The configuration settings for the creation and control of the worker process are stored in the root configuration file for the computer, Machine.config. Whenever an old worker process recycles, a newer one is created, which replaces the old one to serve requests. Process model settings are exposed in the root configuration file for the computer, Machine.config. The configuration section is named and is shown in the following example. The process model is enabled by default (enable="true"). The process model helps enable scalability on multiprocessor computers by distributing the work to several processes, one per CPU, each with processor affinity set to its CPU. This eliminates cross-processor lock contention and is ideal for large SMP systems. This technique is called Web gardening. The configuration settings for enabling Web gardens are listed in the following table. Note that these settings take effect only after a server is restarted. IIS must be cycled in order for this change to take place. so result is if system have multiple cpus then we can make settings that for more than one worker process on single system but single process for single cpu

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS