Oct. 29, 2003
2:18 p.m.
Eric C. Newton wrote:
I looked into this for a few hours. I had to build a server that needed to regularly maintain 20K+ connections. Of course, I prototyped it in python first.
It takes a long time just to create and accept 20K+ connections in Python. Epoll wasn't going to help that much.
Can you qualify "long time"? And what's the bottleneck? At the scale of 100K or so function calls, Python isn't egregiously slow, certainly not slow enough to not be able to outrun TCP connection setup...?