High performance Python web-app

Titus Brown t at chabry.caltech.edu
Tue May 14 09:37:03 EDT 2002


In article <mailman.1021369764.31714.python-list at python.org>,
holger krekel  <pyth at devel.trillke.net> wrote:
>> > My question is: are there any *stable* solutions available to enable
>> > fast ptyhon web-apps running on Apache 2/Win32? (Mod_python only runs on
>> > Apache 1.3 as far as I know and Mod_snake seems to have been taken off
>> > line....)
>> >
>> 
>> A recent thread seemed to suggest the best way would simply be to have
>> Apache map a subset of URLs to a pure-Python server process.
>
>the configuration option is 'ProxyPass':
>
>    ProxyPass /sub/name/ http://localhost:7000

If you're going to go with a separate setup for the Python processes,
you should take a look at AOLserver/PyWX (http://pywx.idyll.org/).   I
also have instructions on how to map AOLserver into an Apache namespace
with the Proxy stuff at http://www.idyll.org/~t/www-tools/.

Pure Python Web serving is butt slow; if speed is a concern, you really
don't want to do things that way ;).

--titus



More information about the Python-list mailing list