Re: [mp2] Make Apache2/mp2 act like IIS6/application pools

[prev] [thread] [next] [Date index for 2005/03/29]

From: Stas Bekman
Subject: Re: [mp2] Make Apache2/mp2 act like IIS6/application pools
Date: 03:38 on 29 Mar 2005
Philip M. Gollucci wrote:
> On Mar 28, 2005, at 5:21 PM, Stas Bekman wrote:
> 
>> Andrew Weiland wrote:
>>
>>> Is it possible to replicate the functionality of application pooling 
>>> in IIS 6 with mod_perl2 and apache 2?
>>> I've looked at Registry scripts but at this point am unsure as to how 
>>> they can help me with more than one application.
>>
>>
>> Andrew, please explain what's IIS' application pooling.
> 
> Hi Andrew, Stats.
> The answer I believe is no.
> 
> Application pooling basically lets you set up IIS sites and ODBC 
> connnects in "shared"
> mode (aka low or medium memory models) from IIS5.  Then you're websites 
> can share the same memory footprint.
> 
> Correct me if I'm wrong, but I believe this was being talked about for 
> perl6/modperl3 and solar variables.

No, it already exists in mp2 + threaded Apache mpms + perl5.8.x, including 
the solar variables (see the threads::shared manpage for more details). 
The opcode tree is shared between the threads:
http://perl.apache.org/docs/2.0/user/performance/mpm.html#Memory_Requirements_in_Threaded_MPM

The problem is that there are too many problems with ithreads. And 
starting a new thread in the heavily loaded server is prohibitively 
expensive. Liz has implemented forks.pm as a drop-in replacement for 
threads.pm, to make things much faster.

> On windows depending on your theading model, you might avoid the over 
> head of code size x # of children.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: [mp2] Make Apache2/mp2 act like IIS6/application pools
Philip M. Gollucci 00:59 on 29 Mar 2005

Re: [mp2] Make Apache2/mp2 act like IIS6/application pools
Philip M. Gollucci 01:10 on 29 Mar 2005

Re: [mp2] Make Apache2/mp2 act like IIS6/application pools
Stas Bekman 03:38 on 29 Mar 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52