how fast can you pingpong pickled objects?
- From: Bram Stolk <bram@xxxxxxxxxxxxxxxx>
- Date: Mon, 12 Dec 2005 17:22:56 +0100
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
.
- Prev by Date: Help: how to run python applications as NT service?
- Next by Date: IsString
- Previous by thread: Help: how to run python applications as NT service?
- Next by thread: IsString
- Index(es):
Relevant Pages
|