I've spent a few days on and off trying to get some hard statistics on what kind of performance you can expect from using the HTTPServer and/or TCPServer built-in libraries in Python.
I was wondering if anyone can give me any idea's as to how either/or would handle serving HTTP requests and if they would be able to hold up in production environments or in situations with high traffic and if anyone had any tips or clues that would improve performance in these situations. (Assuming that there is no access to external libraries like Twisted etc)
Thanks.
Neither of those built-in libraries was meant for serious production use.  Get real implementations, for example, from Twisted, or Tornado, or gunicorn, etc, etc, there are lots of them.  There's no need to stick with the standard library modules.
The performance, and probably the robustness of the built-in libraries is poor.
Performance of Python HTTPServer and TCPServer