Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET Worker processes and shared resources

Reply
Thread Tools

ASP.NET Worker processes and shared resources

 
 
Abhishek Srivastava
Guest
Posts: n/a
 
      01-28-2004
Hello All,

I am reading about the worker process based architecture of ASP.NET.
What I am wondering is how do they use the shared resources like the
connection pool to the database.

DB connection pools are in-memory things. Now If I have 5 worker
processes running and I have set my max connection pool size to 20 for
my application.

will each worker run with 4 connections? or will each worker process
create a pool of size 20 thereby opening a total of 100 connections to
my db?

Each time a worker process gets re-cycled, is there anyway with which I
can tell it to execute a peice of code (a kind of contructor) before it
starts taking requrest?

Thanks for your help in advance.

regards,
Abhishek.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worker processes and Session state =?Utf-8?B?RGlmZmlkZW50?= ASP .Net 0 10-20-2006 05:33 PM
Shared memory across different worker processes in a web garden domtam@hotmail.com ASP .Net 0 02-23-2005 08:25 PM
I can map all files (.*) to asp.net worker.How do I map NO FILE to asp.net worker? alex ASP .Net 1 02-04-2005 03:18 AM
Right value of "Maximum number of worker processes" in IIS 6.0 for a web garden? Dominic ASP .Net 1 11-23-2004 09:27 PM
Multiple worker processes for a single application in a applicationpool Abhishek Srivastava ASP .Net 9 02-03-2004 06:28 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57