how fast can you pingpong pickled objects?
Bram Stolk
bram at geenspam.sara.nl
Mon Dec 12 11:22:56 EST 2005
More information about the Python-list mailing list
Mon Dec 12 11:22:56 EST 2005
- Previous message (by thread): Help: how to run python applications as NT service?
- Next message (by thread): line deletion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there, I'm transfering small pickled object over a socket. The performance I see is lower than expected. How fast should I be able to ping/pong small objects in python? I use a threaded SocketServer, telnetlib and pickle to test this, and I see that a 100 ping-pongs take 4 seconds or so, (over the localhost network). ping localhost gives me 0.06 msec, so the network is fast enough. My test code is here: http://stolk.org/tmp/pingpong.py Is there a limit in Python on how many times per second a thread can be scheduled? Thanks, Bram
- Previous message (by thread): Help: how to run python applications as NT service?
- Next message (by thread): line deletion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list