Re: [Templates] Re: [OT] Apache2 speed with TT

[prev] [thread] [next] [Date index for 2004/12/23]

From: Randy Kobes
Subject: Re: [Templates] Re: [OT] Apache2 speed with TT
Date: 04:29 on 23 Dec 2004
On Wed, 22 Dec 2004, Robert wrote:

> In article <1103756184.5936.27.camel@xxxxxxxxx.xxxxxxxxxxx>,
>  Perrin Harkins <perrin@xxxx.xxx> wrote:
>
> > On Wed, 2004-12-22 at 16:51 -0500, Robert wrote:
> > > Not quite. While I would love to be running mod_perl,
> > > I am limited to using CGI only. Hence the question...
> >
> > It's pretty unusual to be able to choose your web server
> > but not be able to choose whether you run a specific
> > module or not.
> >
> > If you're unable to choose which modules get compiled into the server,
> > you might want to look into SpeedyCGI as an alternative.
> >
>
> Well I am on Windows and mod_perl(1) and Apache 1 are
> limited to a single process (not a good thing). I see on
> the mod_perl site that mod_perl(2) and Apache2 do not have
> that limitation *but* that version of mod_perl is in a
> 'development stage' and I would rather not 'trust' my
> stuff to it without some feedback from people that are
> using mp2 and A2.

As you've discovered, on Win32 there's a big improvement in
using mod_perl 2, but as well, Apache2 itself has some
significant gains over Apache1 on Win32. A release candidate
of mod_perl 2 was just released, so it's very close to
coming out of the development stage - on Win32, it passes a
very extensive test suite. http://perl.apache.org/ discusses
porting things to mp2, and for Win32 in particular, how to
get ppm packages (note that on Win32 you must be running
perl-5.8.x [an ActivePerl 8xx build] to use mp2).

Of course, one should be careful in making a major upgrade
like this - for mod_perl 2, the ppm package will install
things under an Apache2/ subdirectory in your Perl tree, so
that in principle you can have mod_perl 1 and 2 coexisting.
Using Template-Toolkit with mp2 is pretty straightforward -
if you need Apache::Request and/or Apache::Cookie, you can
get them in the libapreq2 ppm package, and if you need
Apache::Template, a mp2-compatible version is available from
 http://www.modperlcookbook.org/~geoff/modules/experimental/

        -- 
        best regards,
randy kobes

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] [OT] Apache2 speed with TT
Robert 13:10 on 22 Dec 2004

Re: [Templates] [OT] Apache2 speed with TT
Perrin Harkins 18:10 on 22 Dec 2004

Re: [Templates] [OT] Apache2 speed with TT
Sean T Allen 18:38 on 22 Dec 2004

Re: [Templates] Re: [OT] Apache2 speed with TT
Perrin Harkins 22:56 on 22 Dec 2004

Re: [Templates] Re: [OT] Apache2 speed with TT
Sean T Allen 02:33 on 23 Dec 2004

Re: [Templates] Re: [OT] Apache2 speed with TT
Randy Kobes 04:29 on 23 Dec 2004

Re: [Templates] Re: [OT] Apache2 speed with TT
Vivek Khera 14:51 on 23 Dec 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52