RE: [Twisted-Python] IOCP Reactor (Was: win32 buildbot)

If I can allocate a resource for this that is an experienced developer (15 years C guy), but with little python or twisted experience, would someone be able to guide him when he hits a tough spot? I could answer basic twisted/python questions, but I don't know the guts of windows or reactors. We are using twisted in a windows environment and would be willing to contribute the work back to twisted. Thanks Mike ---------------------------------------------------------------- Michael Schneider Senior Software Engineering Consultant UGS PLM Solutions - an EDS Company "The Greatest Performance Improvement Is the transitioning from a non-working state to the working state"
-----Original Message----- From: twisted-python-admin@twistedmatrix.com [mailto:twisted-python-admin@twistedmatrix.com]On Behalf Of Justin Johnson Sent: Tuesday, March 16, 2004 3:37 PM To: Twisted-Python Subject: Re: [Twisted-Python] IOCP Reactor (Was: win32 buildbot)
I would love to see a more stable version of the windows reactor. :-)
Occasionally where the win32eventreactor starts spinning wildly out of control when I do too many things at once. I assume this is the 63 kernel events limitation or some such thing...
-Justin
Itamar Shtull-Trauring <itamar@itamarst.org> writes:
Fixes to win32event reactor or a finished IOCP reactor so we can abandon it are welcome ;)
I was interested to see this, as I've been aware of the
the standard select reactor on Win32 (no process stuff, for example), but given the comments in the documentation for the win32event reactor, I wasn't sure that was the way to go either.
One neat feature in later versions of Win32 (Windows 2000+, I believe) is a kernel-level thread pool, which handles async I/O very cleanly, as well as a lot of other stuff, such as waiting on more than 63 kernel events, asynchronous function calls, etc, etc. Looking at the IOCP reactor, it doesn't seem to use this.
Some questions:
1. Would a reactor based on Win32 thread pools be worth having? 2. Is lack of NT support a problem (Win9x is already disallowed by using IO completion ports)? 3. Does anyone want to pick this up (the author of the IOCP reactor, or the existing win32event reactor, for example)? 4. If no-one else wants to pick it up, where would I find
On Sun, 14 Mar 2004 19:36:10 +0000, "Paul Moore" <pf_moore@yahoo.co.uk> said: limitations of pointers on
writing a reactor? Assuming there isn't a useful "what is a reactor supposed to do" document (I couldn't find one) what code would be a good starting point? [Note: If this is what ends up happening, expect completion in something like 2038, given my copious quantities of free time, and the likelihood of me managing to stick with a substantial programming project :-(]
Paul. -- This signature intentionally left blank
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

The IOCP reactor has already been started (sandbox/pahan/ in CVS).

Mike, I've had the (mis?)fortune of having to maintain some applications written in vanilla Win32 in the last few years, so I can take a stab at answering Windows questions if they come up. I'm still trying to get familiar with how the Twisted internals work, so I probably won't be much help in that area. For the forseeable future, I will be constrained to using Windows platforms at work, so I'm interested in helping get Twisted working well on Windows. I'll try and help out as much as I can if you run into any rough spots, for whatever that's worth. :) Alan Schneider, Michael wrote:
If I can allocate a resource for this that is an experienced developer (15 years C guy), but with little python or twisted experience, would someone be able to guide him when he hits a tough spot?
I could answer basic twisted/python questions, but I don't know the guts of windows or reactors.
We are using twisted in a windows environment and would be willing to contribute the work back to twisted.
Thanks Mike
---------------------------------------------------------------- Michael Schneider Senior Software Engineering Consultant UGS PLM Solutions - an EDS Company
"The Greatest Performance Improvement Is the transitioning from a non-working state to the working state"
participants (3)
-
Alan McIntyre
-
Itamar Shtull-Trauring
-
Schneider, Michael