On 5/9/06, Harmen <[EMAIL PROTECTED]> wrote:
On Tue, May 09, 2006 at 04:47:14PM +0800, Ken Perl wrote:
> Is it possible to make a modperl application to run in cluster? if
> yes, how to do that? any doc?
Take a few mod_perl servers and put one pound (http://www.apsis.ch/pound/)
reverse
proxy in front of them.
Works great.
A decade ago the standard answer was "run squid" but I guess I missed a meeting.
Looking at the pound web page I see that it isn't going to accelerate the static
pages, which squid will do for you.
If Ken Perl (wonderful name -- "know perl") has CPU-intensive mod-perl
applications
that he wants to use clustering to mitigate bottlenecks, instead of
load-balancing,
a loadbalancing front-end might not be the right thing. As long as
the session management
is shared among the servers, load-balancing will work (which has
alkready been said)
if you go really simple and have your cluster all with different
external IP addresses and
use a round-robin DNS, you don't have to worry about session
management sharing as
much because any client will establish an affinity for the server they
are using and won't
switch, in general.
--
David L Nicol
route around stupidity like any other damage