ASP.NET Worker processes and shared resources

Discussion in 'ASP .Net' started by Abhishek Srivastava, Jan 28, 2004.

  1. 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.
     
    Abhishek Srivastava, Jan 28, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. alex
    Replies:
    1
    Views:
    693
    Lau Lei Cheong
    Feb 4, 2005
  2. Replies:
    0
    Views:
    877
  3. Replies:
    0
    Views:
    338
  4. =?Utf-8?B?RGlmZmlkZW50?=

    Worker processes and Session state

    =?Utf-8?B?RGlmZmlkZW50?=, Oct 20, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    350
    =?Utf-8?B?RGlmZmlkZW50?=
    Oct 20, 2006
  5. Jeff Clausius

    Configuration for multiple ASP.Net Worker processes

    Jeff Clausius, Mar 2, 2005, in forum: ASP .Net Web Services
    Replies:
    4
    Views:
    157
    Jeff Clausius
    Mar 4, 2005
Loading...

Share This Page