Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Will one ASP .Net worker process use more than one CPU?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Bailey - 10 Sep 2007 22:58 GMT
I am currently evaluating a CMS product.  I like the product so far, but one
of the restrictions on the product is that it requires that the Windows 2003
application pool be restricted to one worker process.  They say this is being
done to improve caching. (???)

My understanding that the way ASP .Net scales is to create one worker
process per CPU.  If the number of worker processes is restricted to one,
doesn't that mean that I am not taking advantage of the other cpus on the box?

The only reason I'm familiar with to limit the number of worker processes is
to allow inproc session state.  I'm not sure what benefits caching could get
from this.  Any ideas on this so I might better understand what is going on
would be appreciated.
bruce barker - 11 Sep 2007 00:28 GMT
an worker process uses threads, and these threads will run on more than
1 proc. your cms product must use an in-memory cache, that restricts it
to one worker process. it must be unmanaged memory, or it would
restricted to one app domain (one web site).

-- bruce (sqlwork.com)

> I am currently evaluating a CMS product.  I like the product so far, but one
> of the restrictions on the product is that it requires that the Windows 2003
[quoted text clipped - 9 lines]
> from this.  Any ideas on this so I might better understand what is going on
> would be appreciated.
John Bailey - 14 Sep 2007 18:22 GMT
How do you figure this restriction will hurt it scaling wise.  I would assume
that the default in creating one worker process per cpu has some advantages,
so I am just wondering what I am losing.

> an worker process uses threads, and these threads will run on more than
> 1 proc. your cms product must use an in-memory cache, that restricts it
[quoted text clipped - 16 lines]
> > from this.  Any ideas on this so I might better understand what is going on
> > would be appreciated.
John Bailey - 14 Sep 2007 18:32 GMT
Isn't restricting it to one worker process the same as turning web garden
support off?

> an worker process uses threads, and these threads will run on more than
> 1 proc. your cms product must use an in-memory cache, that restricts it
[quoted text clipped - 16 lines]
> > from this.  Any ideas on this so I might better understand what is going on
> > would be appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.