Hi, I've recently written an HTTP service that uses the HTTP server from the BaseHTTPServer. I've very simply told it to serve forever and have a bit of code at the back end in the handler.
After writing this and debugging it, I did some testing of it and found that anything over about 26 requests / sec to the code (port) was rejected as TCP connection denied. What I'd like to know is : a) Does this sound right ? b) Would changing the spec of my machine alter this ? - PC/900Mhz/512Ram c) Can I get this any faster ? d) Does what I have in my handler affect these results or is it already in a thread by then ? It seems a bit slow but admittedly, I've never done this before, in any language so 26 connections / sec could be quick ? It's not like my memory usage is up or the cpu is even touched really but just seems that Python can't accept more connections / sec. All tests were done locally and then accross a 100Mbit network and the same was observed. Any suggestions would be gratefully received Thanks Matt _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs