Does Python scale for heavy web loads?

Oleg Broytmann phd at phd.russ.ru
Thu Sep 7 10:08:08 EDT 2000


Hi!

On Thu, 7 Sep 2000 markhaliday at my-deja.com wrote:
> Question: Using Python as a CGI and running it under Apache, would
> Python realistically be able to handle 5,000 hits an hour and not

   Even standalone python interpreter could (not on 386SX, of course :),
but you can speed things up by using PyApache or mod_python or mod_snake.

> degrade performance?  With Python's threading, (ex: using a Default.py
> script as an example) I call Default.py to render some information,
> only one thread runs Default.py right?  No other people can hit
> Default.py until Default.py finishes with its original request and
> serving the information back...Correct?

   I do not understand your question about threading; in Aapche Default.py
will be run as many times in parallel as there many requests (until you
employ some locking mechanisms).

Oleg.
---- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list