阅读背景:

Python:打开大量套接字的更好方法

来源:互联网 

I have the following program to open lot's of sockets, and hold them open to stress test one of our servers. There are several problem's with this. I think it could be a lot more efficient than a recursive call, and it's really still opening sockets in a serial fashion rather than parallel fashion. I realize there are tools like ab that could probably simulate what I'm trying to do, but I'm hoping to increase my python knowledge. Is this something I should be rewriting as either multi-threaded or multi-process?I have the following program to open lot's of s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: