On Jul 10, 2006, at 1:20 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
I working on a Image transfer application between a client and server over Mina. Image files are around 3000 kbs in length. Im transfering over a compression filter followed by
a Objectserialization protocol handler.
Transfering 1 image file to my localhost would take around 2 seconds. I was wondering if there is any way to increase this benchmark? I know this is a silly question on bandwitdh and latency but any suggestions would be apreciated. Heres a snipet of the code.

Have you benchmarked to see how much time is being taken up by the compression and cypher vs transmission?

You could also try tuning the buffer sizes on the sockets as well, but I'd start with doing some more fine-grained timings to determine why its taking that amount of time.

-pete

--
[EMAIL PROTECTED] - http://fotap.org/~osi



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to