[Twisted-Python] IOCP Reactor (Was: win32 buildbot)
michael.l.schneider at ugsplm.com
Tue Mar 16 15:51:07 EST 2004
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.
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 at twistedmatrix.com
> [mailto:twisted-python-admin at twistedmatrix.com]On Behalf Of Justin
> 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...
> On Sun, 14 Mar 2004 19:36:10 +0000, "Paul Moore"
> <pf_moore at yahoo.co.uk>
> > Itamar Shtull-Trauring <itamar at 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
> limitations of
> > the standard select reactor on Win32 (no process stuff, for
> > 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
> 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 at twistedmatrix.com
> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python