mod_python - life's not that easy
Jack Diederich
jack at performancedrivers.com
Fri Mar 21 03:14:02 EST 2003
mod_python has its own mailing list at mod_python at modpython.org
On Thu, Mar 20, 2003 at 10:47:21PM -0800, Hilbert wrote:
> Is it possible to use mod_python like mod_php, so instead of starting
> /usr/bin/python every time it would just process the python scripts as they
> are requested?
This is almost exactly what mod_python does. It actually starts one
interpreter per apache child process that it keeps around until the child dies.
mod_php is so aweful I don't even want to talk about it.
> My application is very small scale. Other than the speed increase, what
> other advantages are to using pyhton scripts as apache handlers?
The main advantage is speed. Even on a small application shaving .25 seconds
from a page-render time makes it feel much snappier.
-jackdied
More information about the Python-list
mailing list