http://www.perlmonks.org?node_id=202513


in reply to Re: Re: Apache 2 and mod_perl
in thread Apache 2 and mod_perl

all right that 'll save me a lot of hassle...
is mod_perl2 stable enough for production purposes or is it highly not recommended to use it in prod?
apart from that, apache2 gave me impressive results when benchmarking with ab against a single html page. it was able to handle 1400+ hits a sec, whereas apache1 on the same box only handled about 650-700... wow! i've got to figure out if it performs as well in real life though...

Replies are listed 'Best First'.
Re: Re: Re: Re: Apache 2 and mod_perl
by perrin (Chancellor) on Oct 03, 2002 at 14:50 UTC
    It is considered pretty solid in the pre-fork MPM mode (basically the apache 1 model) on popular platforms like Linux. The threaded MPMs are not as safe at this point. For static content, apache 2 is considered stable.

      What's had me up the last day or so is how to deal with the various threading/multiprocessing thingies between ActiveState perl on Win32, mod_perl in Apache 1, Apache 2, plain forking on the various unixalikes. Eventually I'd like to get some XS code running but it's pretty intimidating when that minefield just keeps getting larger and larger...

      __SIG__
      printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE

        You generally don't have to deal with all of those in a single project. In fact, I can't think of anything that does deal with all those. Develop for your platform first, and generalize later if you need to.
Re: Re: Re: Re: Apache 2 and mod_perl
by diotalevi (Canon) on Oct 03, 2002 at 13:46 UTC

    That is what beta means: not for production. There's also a useful guideline that the first release also isn't for production. Others will jump on it and find some other nasty bugs for you but you only avoid those by letting it sit for a bit until it increments past the x.0 version.

    __SIG__
    printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE