regarding serve_forever() and non-blocking connection
jason jurkowski
jmj8237 at cs.rit.edu
Sat Sep 7 22:19:29 EDT 2002
yeah i know this is an odd way to reply to a post but its the only way
i could do it. here is the response:
really the proxy stresses the cpu? if http_proxy.handle_request()
compiles to more than a handfull of bytecodes and the requests are
concurrent the interpretor is probably doing too much context
switching. by default the interpretor performs a context switch
between threads after executing 10 bytecodes. you can change this w/
sys.setcheckinterval().
More information about the Python-list
mailing list