[Twisted-Python] twisted.web and MySQLdb

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Oct 29 09:18:15 EST 2003

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...?

More information about the Twisted-Python mailing list