[Twisted-Python] Win32 IOCPReactor?

Itamar Shtull-Trauring itamar at itamarst.org
Sun May 20 19:32:39 EDT 2007


On Sun, 2007-05-20 at 16:06 -0700, Volodymyr Orlenko wrote:

> I am new to Twisted, and I am considering porting my application to 
> Twisted, (for performance and scalability reasons, and to take
> advantage 
> of Comet). *All* our customers are running Windows. This discussion 
> thread sounds scary! What works and what does not work in IOCP
> reactor? 

Basic TCP should work. There's a rewrite of the IOCP reactor in a branch
which is likely better.

> Will I be able to run PB and web server using IOCP reactor? 

Probably; some people at least seem to be able to use it.

> Is select reactor really broken on Windows?

All tests pass in the buildbot: http://twistedmatrix.com/buildbot/ and
we have no major bug reports against it as far as I know. I would trust
it more than the IOCP reactor (as long as you're OK with only 512
connections.)

>  Should I be looking at other server 
> products instead?

Well... it's probably hard to find something as powerful and extensive
as Twisted. So if your choice is building all this infrastructure on
some other framework, or just helping improve Twisted's IOCP support (if
you find it necessary), why not do the later? :)






More information about the Twisted-Python mailing list