mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: Increasing Performance over Mina
Date Tue, 11 Jul 2006 19:04:54 GMT
On Jul 10, 2006, at 1:20 PM, <cinod79@gmail.com> <cinod79@gmail.com>  
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

-- 
proyal@apache.org - http://fotap.org/~osi




Mime
View raw message