[Twisted-Python] twisted.web and MySQLdb

Andrew Bennetts andrew-twisted at puzzling.org
Wed Oct 29 03:57:58 EST 2003


On Tue, Oct 28, 2003 at 11:34:37PM -0800, Nathan Seven wrote:
> 
> Speaking of- I know we're kinda tied to Python, but
> what are the thoughts about using any of the OS's
> provided event-driven polls? (epoll,kqueue) 
> I'm guessing these are essentially untouchable without
> Python mods.

There's a kqueue reactor already -- see twisted/internet/kqreactor.py (yes,
it does rely up on an extension module).  I'm not sure how complete it is,
it's not tested by the buildbot.

epoll shouldn't be too hard to do with pretty much the same approach.
Patches accepted :)

-Andrew.





More information about the Twisted-Python mailing list