[Twisted-Python] Win32 IOCPReactor?

Josh Ritter jritter at bektel.com
Sat May 19 14:59:19 MDT 2007


We use the iocp reactor on our Windows servers for our MMORPG Minions of 
Mirth.

The select reactor on Windows is *extremely* slow and bombs when you hit 
between 32-64 connections.

------------------------------------
-Josh Ritter
President
Prairie Games, Inc
http://www.prairiegames.com


----- Original Message ----- 
From: "Eric Mangold" <teratorn at twistedmatrix.com>
To: "Twisted general discussion" <twisted-python at twistedmatrix.com>
Sent: Friday, May 18, 2007 12:58 PM
Subject: Re: [Twisted-Python] Win32 IOCPReactor?


> IOCPReactor isn't production-ready for most people's definitions of
> "production".
>
> And yes, it's been stagnant for a long time.. AFAIK it's mostly just lack
> of attention. It's a lot of work, and so far nobody has been able to
> commit to finishing it.
>
> As for the default select-based reactor it should work fine. There aren't
> any outstanding performance concerns that I am aware of. You will have to
> test for yourself if it meets your requirements.
>
> Hope that helps,
> --
> Eric Mangold
> Twisted/Win32 Maintainer
>
>> I'm new to Twisted.  Perusing the documentation, I came across
>> IOCPReactor.  It's marked as 'extremely experimental', and it appears it
>> only provides support for TCP events.
>>
>> It seems the last check in to anything IOCPReactor-related was back in
>> 2005.  Is it dead?  Is anyone using it?  Is anyone planning to pick
>> development back up?  Were there specific issues with IOCP that impeded
>> development, or just a general lack of people with time, inclination, or
>> Win32-fu?
>>
>> Assuming the IOCPReactor's not feasible for high load production
>> deployment, can anyone comment on how the default select()-based reactor
>> for Win32 fares under high load?
>>
>>
>> Trent.
>>
>> _______________________________________________
>> 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
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python 





More information about the Twisted-Python mailing list