activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: I need a way to set tcpNoDelay on peer transport TCP network connections
Date Mon, 29 Jan 2007 19:28:32 GMT
Hi andrew,

could you raise a jira issue for this please: http:// 
issues.apache.org/activemq/secure/CreateIssue!default.jspa


cheers,

Rob
On 29 Jan 2007, at 19:03, asteele wrote:

>
> I really like the peer transport in ActiveMQ.  It seems to be just  
> the kind
> of setup we need.  However, we do have low round-trip latency  
> requirements
> in some applications.  I was seeing unacceptably bad latencies  
> (~200ms) for
> synchronous round trips.  I installed Wireshark and performed network
> analysis to see what was going on.  It appeared to be a Nagle  
> algorithm /
> TCP ACK delay issue.  Essentially, after the first message request and
> reply, the next request message may be delayed while waiting for a  
> delayed
> ACK from the other broker.  This should be resolvable by enabling
> tcpNoDelay.  However, the peer transport URI provides no mechanism  
> to enable
> tcpNoDelay.  In fact, I went into the source code and found that  
> the TCP
> network connecter specified in the PeerTransportFactory is hard  
> coded to
> tcp://localhost:0.  Basically, I need a way to turn on tcpNoDelay  
> in peer
> transport.  Thanks.
>
> Andrew Steele
> -- 
> View this message in context: http://www.nabble.com/I-need-a-way-to- 
> set-tcpNoDelay-on-peer-transport-TCP-network-connections- 
> tf3137715.html#a8695603
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


Mime
View raw message