perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Vanasco <jvana...@2xlp.com>
Subject Re: mod_perl implementation possibility
Date Fri, 16 Mar 2007 16:10:01 GMT

On Mar 16, 2007, at 11:55 AM, James. L wrote:

> any special setup for mod_perl 1 + apache 1 under
> virtual host? it works but my impression is that it is
> hard to setup and must be coded very carefully.
>
> that's probably the reason why i rarely see mod_perl
> offered in share dhosting environment.

no, mod_perl is just unsuitable for shared hosting by design.  it has  
nothing to do with virtual hosts.

	a- mp caches code into apache.   it can take *a lot* of ram.   
there's no effective way to manage memory in these situations -- you  
either preload everyone's stuff into apache at start, or apache takes  
a performance hit each time a child reads code for the first time.   
because apache children expire after x requests, in a shared  
environment you'll get almost no speedup - and a potential  
performance decrease.
	b- as clinton noted previously, the way mod_perl handles namespaces  
can cause overlap issues

As I said before, you're best off to just install apache2 and mp2 *in  
addition to apache1*. you can keep all your apache1 stuff running as- 
is on port 80.  just run/configure apache2/mp2 to run on an alternate  
port - like 8080 , and proxy the necessary requests to it via  
mod_proxy on 80.


// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -



Mime
View raw message