Apache 1.3.x vs 2.0.x

stephane martin stephane.martin at m4x.org
Fri Sep 17 11:12:31 PDT 2004


Le Vendredi 17 Septembre 2004 17:36, vous avez écrit :
> On Fri, 2004-09-17 at 17:26 +0200, stephane martin wrote:
> > It is probably the same problem with mod_python and mod_perl.
>
> No, mod_python uses a Global Interpreter Lock, and is therefore thread
> safe.  Performance is better for mod_python under the Prefork MPM
> because of this however.
>
> mod_perl has thread safety built in, and performs *much* better under
> the Worker MPM.


Well, in fact php is also thread-safe (I hope). However, the external 
libraries used by PHP are not necessarily thread-safe (exemple: gd ? 
imagick ? pcre ? dom ?...).

That's why I thought the same argument could be used for mod_python and 
mod_perl if they call thread-unsafe libraries. Now with that Global Lock I 
don't really know :-)



More information about the freebsd-apache mailing list