[Twisted-Python] Re: Different behavior under Windos and Linux
steve at holdenweb.com
Wed Jan 2 07:27:46 EST 2008
W K wrote:
> Hello all,
> i'll be short. The application was developed, which sends streams to different nodes using TCP (basic.LineReceiver and ClientFactory were used) It works perfectly under WindowsXP. However, under (K)Ubuntu the data is not sent immediately, but after approximately 20 secs delay! Does anyone encounter similar inconsistencies? How can one tune the parameters responsible for buffering?
Without even reading the code or advising you to look at the net with
Wireshark I will offer the observation that the kind of delay you
mention is frequently caused by failed DNS lookups, most often reverse ones.
Absence of an IDENT protocol response can also cause similar hangs: is
the Kubuntu system looking for client identification?
If it really is Twisted then you'll have to rely on people who know
something about it :-). I am hoping they will "Teach Me Twisted" (tm) at
PyCon this year.
Happy New Year to the Twisted community.
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Twisted-Python