我一直在对 BaseHTTPServer 进行大量研究,发现它对于多个请求并不是那么好。我浏览了这篇文章 http://metachris.org/2011/01/scaling-python-servers-with-worker-processes-and-socket-duplication/#python
我想知道为多个请求构建 HTTP 服务器的最佳方法是什么->
我对 HTTP 服务器的要求很简单——支持多个请求(每个请求可能运行一个 LONG Python 脚本)
直到现在我有以下选项->-BaseHTTPServer(线程不好)-Mod_Python(Apache 集成)-CherryPy?- 任何其他?