perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <per...@elem.com>
Subject Re: Amazon
Date Sat, 23 Feb 2008 15:14:07 GMT
On Sat, Feb 23, 2008 at 10:08 AM, Tina Müller <apache@s05.tinita.de> wrote:
> On Sat, 23 Feb 2008, J. Peng wrote:
>
> > modperl is fast, but it consumes too much memory.
> > so we choose fastcgi written by C++.
>
> actually it consumes less memory than FastCGI if you do it right. If you
> load as many modules and data structures as you can at startup time,
> Apache will share the memory between the processes (as long as you don't
> change the data).
> With FastCGI this is not possible (or so I was told), so you usually end
> up with using more memory.

The process model is pretty similar (pre-fork), so it should be about
the same.  The important part of that sentence though was "C++", which
would have a smaller footprint than Perl if it was done well.  It's a
tradeoff for developer time of course...

- Perrin

Mime
View raw message