You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Gunther Birznieks <gu...@extropia.com> on 2000/04/06 07:40:51 UTC

Re: mod_perl compat on win32? RE: mod_perl weaknesses? help me build a case....


Soulhuntre wrote:

> Hiya :)
>
> > -----Original Message-----
> > From: Leslie Mikesell [mailto:les@mcs.net]
> > Sent: Wednesday, April 05, 2000 1:34 PM
> > To: soulhuntre@soulhuntre.com
> > Cc: modperl@apache.org
> > Subject: Re: mod_perl weaknesses? help me build a case....
> >
> > Your problem here is going to be that mod_perl is not thread-safe
> > and will serialize everything when running under the threaded
> > model that apache uses under windows. If your scripts are fast enough
> > you might be able to live with this if you use it as a back end
> > to a lightweight front-end proxy which a busy site needs anyway.
>
> Ok... that makes sense :)
>
> On a side note... is mod_perl/apache on linux compatible with IIS/operlex
> from activestate on the Win32 side?
>

For all intents and purposes, PerlEx is basically compatible with
mod_perl/Apache::Registry. However, the END {} blocks are interpreted
differently (augh!)... which shouldn't really be that much of an issue for
most programs.

The good thing about PerlEx as opposed to mod_perl/Win32 is that instead of
serializing all the calls to one Perl interpreter, ActiveState Perl actually
creates multiple Perl interpreter "objects" that can be round-robined among
the IIS threads.

>
> If so, that's a big boost for me...
>

I've been testing all my code on both PerlEx and mod_perl. And haven't had
very many problems at all with compatibility. I think UNIX/mod_perl is faster
than NT/IIS/PerlEx on the same hardware (from my unscientific observation),
but PerlEx seems much faster than ASPs.

Later,
   Gunther



Re: Win32/Linux cross dev... closing in :) Last comments?

Posted by Gunther Birznieks <gu...@extropia.com>.

Soulhuntre wrote:

> Hiya :)
>
> > -----Original Message-----
> > From: Gunther Birznieks [mailto:gunther@extropia.com]
> > Sent: Thursday, April 06, 2000 6:56 AM
> > Cc: modperl@apache.org
> > Subject: Re: Win32/Linux cross dev... closing in :) Last comments?
> >
> >
> > Writing Apache::Registry and then moving to PerlEx will have greater
> performance
> > than writing Apache::ASP and moving to PerlScript Pages on IIS.
> > However, the performance difference is probably not that great compared to
> > using CGI on both platforms.
>
> Without Apache::ASP as I understand it we cannot mix html/perl... is that
> right? The Apache::Registry module allows us to speed up "cgi" processes,
> but not page scripting per se?
>

Yes.

If you want Page scripting and the x platform (IIS) stuff, then you should
probably do the ASP side.

>
> Ken
>
> ---
> Soulhuntre
>
> (icq# 275066)
> http://www.soulhuntre.com - my world
> http://www.dotpublishing.com - my income
> http://www.virtualchemy.com - my company
> http://www.the-estate.com - my passion


RE: Win32/Linux cross dev... closing in :) Last comments?

Posted by Soulhuntre <so...@soulhuntre.com>.
Hiya :)

> -----Original Message-----
> From: Gunther Birznieks [mailto:gunther@extropia.com]
> Sent: Thursday, April 06, 2000 6:56 AM
> Cc: modperl@apache.org
> Subject: Re: Win32/Linux cross dev... closing in :) Last comments?
>
>
> Writing Apache::Registry and then moving to PerlEx will have greater
performance
> than writing Apache::ASP and moving to PerlScript Pages on IIS.
> However, the performance difference is probably not that great compared to
> using CGI on both platforms.


Without Apache::ASP as I understand it we cannot mix html/perl... is that
right? The Apache::Registry module allows us to speed up "cgi" processes,
but not page scripting per se?

Ken

---
Soulhuntre

(icq# 275066)
http://www.soulhuntre.com - my world
http://www.dotpublishing.com - my income
http://www.virtualchemy.com - my company
http://www.the-estate.com - my passion


Re: Win32/Linux cross dev... closing in :) Last comments?

Posted by Gunther Birznieks <gu...@extropia.com>.
Writing Apache::Registry and then moving to PerlEx will have greater performance
than writing Apache::ASP and moving to PerlScript Pages on IIS. However, the
performance difference is probably not that great compared to using CGI on both
platforms.

Later,
  Gunther

Soulhuntre wrote:

> Hiya :)
>
> Thanks for all the help so far, it has proved VERY valuable.
>
> We have narrowed our architecture down a lot over the last few days.
>
> We will work with mod_perl/Apache/Apache::ASP under Linux. And we will use
> Activestate's PerlScript under Win32. We will avoid as many "ASPisms" as we
> can, and wrap the rest in a module for later changes if needed. Both systems
> will talk to a MySQL or MS SQL dedicated box.
>
> This SHOULD allow us a almost seemless ability to move between Linux/Apache
> <-> Win32/IIS.
>
> Has anyone actually used this sort of setup this way? Words of encouragement
> or last minute red flags will be appreciated, we finalize on Friday :)
>
> Ken
>
> ---
> Soulhuntre
>
> (icq# 275066)
> http://www.soulhuntre.com - my world
> http://www.dotpublishing.com - my income
> http://www.virtualchemy.com - my company
> http://www.the-estate.com - my passion


Win32/Linux cross dev... closing in :) Last comments?

Posted by Soulhuntre <so...@soulhuntre.com>.
Hiya :)

Thanks for all the help so far, it has proved VERY valuable.

We have narrowed our architecture down a lot over the last few days.

We will work with mod_perl/Apache/Apache::ASP under Linux. And we will use
Activestate's PerlScript under Win32. We will avoid as many "ASPisms" as we
can, and wrap the rest in a module for later changes if needed. Both systems
will talk to a MySQL or MS SQL dedicated box.

This SHOULD allow us a almost seemless ability to move between Linux/Apache
<-> Win32/IIS.

Has anyone actually used this sort of setup this way? Words of encouragement
or last minute red flags will be appreciated, we finalize on Friday :)

Ken

---
Soulhuntre

(icq# 275066)
http://www.soulhuntre.com - my world
http://www.dotpublishing.com - my income
http://www.virtualchemy.com - my company
http://www.the-estate.com - my passion