You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Vanasco <jv...@mastersofbranding.com> on 2005/01/25 23:55:58 UTC

Running Multiple Servers

Can anyone point me towards a good reference for running multiple 
mod_perl servers on the same box?

I'm going to be having 2-3 mod_perl apps running at once on a box I've 
got.

I've read the mod_perl o'reilly book with the chapter that covers 
'optimizing' performance by separating the mod_perl from vanilla apache 
and using a proxypass to pass it over to an alternate port.

I'm trying to figure out if it'll be worth the headache to set up a 
separate apache server for each mod_perl project.  I know in practice 
there should be a decent performance gain from less shared memory -- 
but it looks like a nightmare to set up.


Re: Running Multiple Servers

Posted by Sean T Allen <se...@ardismg.com>.
Its not really all that hard...

as long as you are good with mod_rewrite or similiar.

Took me about 10 minutes to setup something that would
be similiar to what you are talking about. ( 10 minutes
after discounting compilation time. )


Jonathan Vanasco wrote:

> Can anyone point me towards a good reference for running multiple 
> mod_perl servers on the same box?
>
> I'm going to be having 2-3 mod_perl apps running at once on a box I've 
> got.
>
> I've read the mod_perl o'reilly book with the chapter that covers 
> 'optimizing' performance by separating the mod_perl from vanilla 
> apache and using a proxypass to pass it over to an alternate port.
>
> I'm trying to figure out if it'll be worth the headache to set up a 
> separate apache server for each mod_perl project.  I know in practice 
> there should be a decent performance gain from less shared memory -- 
> but it looks like a nightmare to set up.
>
>


Re: Running Multiple Servers

Posted by Jason Dixon <ja...@dixongroup.net>.
On Jan 25, 2005, at 5:55 PM, Jonathan Vanasco wrote:

> Can anyone point me towards a good reference for running multiple  
> mod_perl servers on the same box?
>
> I'm going to be having 2-3 mod_perl apps running at once on a box I've  
> got.
>
> I've read the mod_perl o'reilly book with the chapter that covers  
> 'optimizing' performance by separating the mod_perl from vanilla  
> apache and using a proxypass to pass it over to an alternate port.
>
> I'm trying to figure out if it'll be worth the headache to set up a  
> separate apache server for each mod_perl project.  I know in practice  
> there should be a decent performance gain from less shared memory --  
> but it looks like a nightmare to set up.

I can't find the same document in the mod_perl 2.0 tree, but this has  
served me well in the past:

http://perl.apache.org/docs/1.0/guide/ 
install.html#Installing_Perl_Modules_into_a_Directory_of_Choice

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net