Hi glyph<div><br></div><div>   Thanks for your replying.. I didn&#39;t say it was a bug because it probably caused by some incorrect usages.</div><div><br></div><div><br></div><div>my problem was:</div><div><br></div><div>
we have thousands of machines connect on the server via tcp (the number of machines might be varied from 3000 to 7000). all connections are long connection which means server must hold the connections except the network is broken. each machine send some data per second. when i trying to use twisted as the server part, i noticed some connections lost after one hour. I have tried 8.x and 10.20, connections lost still existed; however, this problem didn&#39;t exist anymore with Twisted 11.0. This is the reason i was curious: what Twisted 11.0 did to solve my problem?</div>
<div><br></div><div>      I noticed the news for 11.0 has one line about IOCP:</div><div><br></div><div><span class="Apple-style-span" style="font-family: &#39;trebuchet ms&#39;, verdana, arial, &#39;Bitstream Vera Sans&#39;, helvetica, sans-serif; font-size: 13px; "><table class="code" style="border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-top-width: 0px; border-top-style: initial; border-top-color: initial; empty-cells: show; font-size: 12px; line-height: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; table-layout: fixed; width: 1322px; ">
<tbody><tr><td style="font: normal normal normal 11px/normal monospace; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); overflow-x: hidden; overflow-y: hidden; padding-top: 1px; padding-right: 2px; padding-bottom: 1px; padding-left: 2px; vertical-align: top; background-position: initial initial; background-repeat: initial initial; ">
<b>IOCPReactor now sends immediate completions to the main loop (#3233)</b></td></tr><tr><th id="L33" style="font: normal normal normal 13px/normal &#39;trebuchet ms&#39;, verdana, arial, &#39;Bitstream Vera Sans&#39;, helvetica, sans-serif; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(215, 215, 215); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 153, 136); font-size: 11px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 221); color: rgb(136, 136, 102); padding-top: 0px; padding-right: 0.5em; padding-bottom: 0px; padding-left: 0.5em; text-align: right; vertical-align: top; ">
</th><td style="font: normal normal normal 11px/normal monospace; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); overflow-x: hidden; overflow-y: hidden; padding-top: 1px; padding-right: 2px; padding-bottom: 1px; padding-left: 2px; vertical-align: top; background-position: initial initial; background-repeat: initial initial; ">
<b><br></b></td></tr></tbody></table></span><div class="gmail_quote"><br></div><div class="gmail_quote">I guess it might be the reason. Now the latest version of twisted is working fine. I really like it.</div><div class="gmail_quote">
<br></div><div class="gmail_quote">Regards</div><div class="gmail_quote"><br></div><div class="gmail_quote">GELIN YAN</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Apr 27, 2011 at 4:48 PM, Glyph Lefkowitz <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com">glyph@twistedmatrix.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote:<br>
<br>
&gt; Hi All<br>
&gt;<br>
&gt;       Currently, i am planning rewrite some parts with twisted &amp; iocp. These parts are related<br>
&gt; to Tcp connection without SSL.  I want to know whether IOCP is ready for production or not.<br>
<br>
</div>Yes.  Many people use it in production.<br>
<div class="im"><br>
&gt;    I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven&#39;t give a try with 11.0. What is the progress for windows support?<br>
<br>
</div>Can you provide links to the bug reports you filed when you encountered problems with the IOCP reactor in 8.1.0 and 10.2.0?  Then I can tell you if they were closed in 11.0 or not.<br>
<br>
Thanks,<br>
<br>
-glyph<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br></div>