« Return to Thread: How reliable is PyAMF -- AS3 remoting?

Re: Terrible performance results of echo_test in local network

by Kay Schluehr-2 :: Rate this Message:

Reply to Author | View in Thread

Nick Joyce schrieb:
> That is really weird ..
>
> What is the ping between the two machines? Can you switch logging on
> in pyamf :
>
> import logging
> logging.basicConfig(level=logging.DEBUG,
>            format='%(asctime)s %(levelname)-5.5s [%(name)s] %(message)s')
Logging is activated by default and may consume a little time for
printing to stdout.

( Note that the application is broken at echotest/python/util.py. The
WSGIGateway object is initialized with an unavailable "logging" keyword
argument. The base class creates the logger on its own in the object
constructor. So I just removed it ).

>
> and rerun the echo_test and attach the log - this would be able to
> show if pyamf is taking 8 seconds minimum to process the request or if
> the time is elsewhere ?
>
> I would also suggest using something like Firebug to view the network
> timeline and see where the lag is ..
>
> Using echoserver isn't built for performance but even so 8+ seconds is
> crazy!
I reproduced the data and zipped the results. One can download them here

www.fiber-space.de/misc/echotest.zip

Firebug essentially confirmed the echo_test logging results with some
higher resolutions at some places ( message queue ). One seemingly
cannot export Firebug logs. So I added also two screenshots for
providing at least an impression.

I have a second older XP notebook and used it to run echo_test.swf and
got comparable results. I also switched the roles of the computers
taking part as client and server. So it is not a problem of a single
machine. There is something that decelerates the whole communication
process but what can it be?

Regards, Kay
_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

 « Return to Thread: How reliable is PyAMF -- AS3 remoting?