Slow network?

Laszlo Nagy gandalf at shopzeus.com
Mon Jan 12 15:33:03 EST 2009


>>
> Waiting for a response after each send will take longer than doing the 
> sends and then the responses. Have you tried pinging the destination 
> to see how long the round trip takes? Has your friend?

My test application listens on 127.0.0.1.

gandalf at gandalf-desktop:~/Python/Lib/orb/examples/01_lowlevel$ ping 
127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.018 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.021 ms

If we only see the response time, the worst case would be 1000.0/ ( 
2*0.027 ) = 18518 message pairs / sec...

(My friend used 127.0.0.1 too)




More information about the Python-list mailing list