set TCP_NODELAY true by default in the Java client to improve general
performance
---------------------------------------------------------------------------------
Key: QPID-3610
URL: https://issues.apache.org/jira/browse/QPID-3610
Project: Qpid
Issue Type: Improvement
Components: Java Client
Affects Versions: 0.14
Reporter: Robbie Gemmell
Assignee: Robbie Gemmell
Fix For: 0.15
set TCP_NODELAY true by default in the Java client to improve general
performance.
TCP_NODELAY is currently set false by default. This leads to synchronous
commands such as ExecutionSync or TxCommit taking a potentially very long
amount of time (~30-40ms observed), which cripples transactional performance,
causes consumer creation to take a long time, and generally impedes performance
of messaging patterns such as request-response.
Whilst this change could perhaps cause some falloff in out-the-box peak
throughput in situations such as NoAck mode, the observed performance increases
in a variety of other situations such as the above is too large (anything from
10% to 1000%, yes 10x throughput, has been observed in select tests) to ignore
for our general out-the-box configuration. Users interested in the ultimate
throughput will be the ones most likely to tune for it, so we should set
default configuration to cater for those who arent/dont.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]