CGI speedup strategies
Oleg Broytmann
phd at emerald.netskate.ru
Wed Sep 1 05:13:31 EDT 1999
On Wed, 1 Sep 1999, Ian Clarke wrote:
> I have always been dissatisfied with the way that CGI scripts work,
Many people feel simillary...
> loading the interpreter and then the script, not to mention making SQL
> connections, loading databases etc - and this for *each and every*
> access. Ok, software like modpython (or is is pyApache?) allieviates
It is PyApache, and there is hing called httpdapy.
> some of this overhead, but it is still far from ideal.
>
> Has anyone tried actually implementing a Python webserver which just
> starts a new thread and runs a piece of Python code in it every time
> someone makes a HTTP request? This server could then cache any objects
> (such as files, or SQL connections) in memory to be used by any Python
> scripts (this would obviously require all code to be thread-safe).
Have you heared of Medusa? Zope? Seems Zope is THE answer for ll your
questions. www.zope.org.
> Can anyone think of any problems with this technique?
>
> Ian.
>
> --
> Ian Clarke - http://www.gnu.demon.co.uk/
> "A subversive is anyone who can out-argue their government"
Oleg.
----
Oleg Broytmann http://members.xoom.com/phd2/ phd2 at earthling.net
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list