[Twisted-Python] Did anyone use twisted on windows (IOCP)?
Hi All Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not. I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven't give a try with 11.0. What is the progress for windows support? Thanks gelin yan
On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote:
Hi All
Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not.
Yes. Many people use it in production.
I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven't give a try with 11.0. What is the progress for windows support?
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. Thanks, -glyph
On 2011-04-27, Glyph Lefkowitz wrote:
On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote:
Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not.
Yes. Many people use it in production.
I use IOCP on Windows XP and Windows 7 in "production", including with SSL, and we have not seen any problems. -- Regards, Stephen Thorne
Hi glyph Thanks for your replying.. I didn't say it was a bug because it probably caused by some incorrect usages. my problem was: 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't exist anymore with Twisted 11.0. This is the reason i was curious: what Twisted 11.0 did to solve my problem? I noticed the news for 11.0 has one line about IOCP: *IOCPReactor now sends immediate completions to the main loop (#3233)** * I guess it might be the reason. Now the latest version of twisted is working fine. I really like it. Regards GELIN YAN On Wed, Apr 27, 2011 at 4:48 PM, Glyph Lefkowitz <glyph@twistedmatrix.com>wrote:
On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote:
Hi All
Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not.
Yes. Many people use it in production.
I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven't give a try with 11.0. What is the progress for windows support?
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.
Thanks,
-glyph _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
---------- Forwarded message ---------- From: Dfgqq Dfgqq <dynamicgl@gmail.com> Date: Wed, Apr 27, 2011 at 11:11 PM Subject: Re: [Twisted-Python] Did anyone use twisted on windows (IOCP)? To: Twisted general discussion <twisted-python@twistedmatrix.com> Hi glyph Thanks for your replying.. I didn't say it was a bug because it probably caused by some incorrect usages. my problem was: 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't exist anymore with Twisted 11.0. This is the reason i was curious: what Twisted 11.0 did to solve my problem? I noticed the news for 11.0 has one line about IOCP: *IOCPReactor now sends immediate completions to the main loop (#3233)* * * I guess it might be the reason. Now the latest version of twisted is working fine. I really like it. Regards GELIN YAN On Wed, Apr 27, 2011 at 4:48 PM, Glyph Lefkowitz <glyph@twistedmatrix.com>wrote:
On Apr 27, 2011, at 3:28 AM, Dfgqq Dfgqq wrote:
Hi All
Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not.
Yes. Many people use it in production.
I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven't give a try with 11.0. What is the progress for windows support?
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.
Thanks,
-glyph _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
From: "Dfgqq Dfgqq" <dynamicgl@gmail.com> To: Twisted-Python@twistedmatrix.com Sent: Wednesday, April 27, 2011 3:28:12 AM Subject: [Twisted-Python] Did anyone use twisted on windows (IOCP)? Hi All Currently, i am planning rewrite some parts with twisted & iocp. These parts are related to Tcp connection without SSL. I want to know whether IOCP is ready for production or not. I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many problems. I haven't give a try with 11.0. What is the progress for windows support? Thanks gelin yan We're using IOCP with SSL on Windows with Twisted 10.2 and have not encountered any problems. Still shaking it down in test. --Ray -- Ray Cote, President Appropriate Solutions, Inc. We Build Software www.AppropriateSolutions.com 603.924.6079
participants (4)
-
Dfgqq Dfgqq -
Glyph Lefkowitz -
Ray Cote -
Stephen Thorne