This equates to an achievable response time of 400ms assuming a single client thread.
如果只有单个客户机线程,那么这相当于400 ms的可实现响应时间。
Then at least you can have something that relates the client thread to the called thread.
这样您至少有了将客户机线程与被调用线程联系起来的途径。
Other than that overhead of its per-client thread creation, a notable feature of the SocketServer-based server is its use of a blocking call to time.sleep within its handler.
除了创建每个客户机线程的开销之外,这个基于SocketServer的服务器一个引人注目的特性在于它对其处理程序内的time . sleep使用阻塞调用。
应用推荐