You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Nick Ippolito <nl...@arctosllc.com> on 2008/08/27 20:41:15 UTC

Socket Buffer

I have developed a moderate bandwidth load Client/Server application, currently, using TCP.  When transmitting to a client over a congested line (p2p T1 with > 95% utilization,) it appears as if there is a delay (often up to 10m!) between the time I call IOSession.submit and the time it is decoded on the client side. 
I have done a good bit of investigation into this and the encode routine in the MessageEncoder is called promptly and immediately.  My current operating theory is that TCP congestion management is causing a backup of messages on the server side.  The requirements for my application is such that data not promptly transmitted is useless and should be discarded.  Is there a way that I can accomplish this (access to the socket queue, for instance) through the mina framework?  Has anyone encountered this problem before?


Nicholas Ippolito
Arctos LLC

212-624-5153
917-754-4396