Python for CGI scripting
Remi Delon
remi at cherrypy.org
Mon Aug 5 13:37:34 EDT 2002
You can also check out CherryPy (http://www.cherrypy.org)
It will let you re-use your CGI scripts (or write new Python code) and
integrate them in a running server.
It can also be run behind another webserver using mod_proxy.
We've been using it on a high-traffic commercial French site for almost a
year, and it has proven stable and *very* fast (much faster than Zope).
You can also set it up on a cluster of servers and do some load-balancing
very easily.
The next release (which will come out in a few days) will have FastCGI (in
case you want to go that way)
Cheers.
Remi.
"Steve Holden" <sholden at holdenweb.com> a écrit dans le message de news:
s2w39.253023$724.26384 at atlpnn01.usenetserver.com...
> "Dale Strickland-Clark" <dale at riverhall.NOTHANKS.co.uk> wrote in message
> news:tj2tkus12t5g0dgf71d65c5ej0gr04ipfi at 4ax.com...
> > We've already used Python for CGI scripting in small projects and it
> > worked well.
> >
> > We're now considering it for web projects with much higher hit rates.
> >
> > I'm a bit worried about how it will scale.
> >
> > Each hit on the site will call a CGI script which will load a new copy
> > of Python, taking time to load off disk and occupying at least another
> > 5MB.
> >
> > Has anyone else addressed this issue? If so, how?
> >
> > What are the prospects of a re-usable Python DLL?
> >
>
> You should at least consider the following options:
>
> 1. mod_python
>
> 2. mod_snake
>
> 3. FastCGI
>
> Each of these in some way allows you to take advantage of a Python
> interpreter that was already loaded, and each requires a different
> accomodation to its conditions in the CGI scripting technique you use.
>
> regards
> -----------------------------------------------------------------------
> Steve Holden http://www.holdenweb.com/
> Python Web Programming http://pydish.holdenweb.com/pwp/
> -----------------------------------------------------------------------
>
>
>
>
>
More information about the Python-list
mailing list