|
Loading...
|
mod_python@modpython.org
[Prev] Thread [Next] | [Prev] Date [Next]
Re: [mod_python] cgi handler Graham Dumpleton Mon Apr 09 12:05:24 2007
On 09/04/07, Andres Morey <[EMAIL PROTECTED]> wrote:
Hi, What is the best Apache configuration for mod_python (v3.3.1)? Should Apache be compiled with mpm-prefork or mpm-worker?
It is safest to use mpm-prefork if you are using other third party web frameworks or components and have no idea if those packages are thread safe. Even if you are writing your own from scratch, if you don't know much about writing thread safe code, use mpm-prefork. In short, the difference is that mpm-worker can result in multiple requests being processed within the same process at the same time in different threads. Thus your code needs to be thread safe. Graham _______________________________________________ Mod_python mailing list [EMAIL PROTECTED] http://mailman.modpython.org/mailman/listinfo/mod_python
- [mod_python] cgi handler Philippe Schottey 2007/04/09
- Re: [mod_python] cgi handler Ondra Kupka 2007/04/09
- Re: [mod_python] cgi handler Philippe Schottey 2007/04/09
- Re: [mod_python] cgi handler Andres Morey 2007/04/09
- Re: [mod_python] cgi handler Graham Dumpleton 2007/04/09 <=
- Re: [mod_python] cgi handler Graham Dumpleton 2007/04/09
- Message not available
- Re: [mod_python] cgi handler Graham Dumpleton 2007/04/09
- Re: [mod_python] cgi handler Philippe Schottey 2007/04/11