Promoting Python as web application development language

Gregory (Grisha) Trubetskoy grisha at ispol.com
Fri Aug 30 16:31:30 EDT 2002


On Wed, 28 Aug 2002, Steve Holden wrote:

> "Paul Rubin" <phr-n2002b at NOSPAMnightsong.com> wrote in message
>
> > You can't really do a big site with CGI's.  The forking overhead will
> > kill you.  You need mod_python or FastCGI or some other scheme.
> >
> CGI is certainly quite an overhead, although of course Apache 2 has bitten
> the bullet and moved to a thread -based arcitecture, which will ease
> problems somewhat.

It will not anything for CGI. CGI _has_ to be executed in a separate
process because the spec (hmm... ok, CGI has no spec, but there is a
draft) dictates a chdir()  to the directory of the script which is not
thread safe.

Grisha




More information about the Python-list mailing list