Red Hat Bugzilla – Bug 1014736
Bad advice to use TCP for large clusters
Last modified: 2013-11-07 17:49:34 EST
Section Number and Name:
Describe the issue:
The documentation states that TCP "is better suited to smaller clusters (under 100 nodes) only when using distribution mode. This is because TCP is more efficient as a point-to-point protocol."
This is completely wrong. TCP is never more efficient as a JGroups transport.
It is slightly worse in small clusters, and WAY worse in large clusters.
TCP is usually only used for JGroups when multicast UDP is not an option, and only for small clusters (I would never consider TCP for 100 nodes as this section also states).
Suggestions for improvement:
Change this to state TCP is generally used only if multicast UDP is not an option, and should only be used in clusters smaller than X (which I believe should be WAY lower than 100).
The note about distribution should remain. (the maximum cluster size TCP can be used in for DIST will be larger than for REPL/INVALIDATION).
Thanks for filing this bug dereed.
Adding NEEDINFO for mgencur to establish the maximum cluster size for TCP.
Current Infinispan documentation advises "under 100 nodes".
Martin, do you have any input as to recommended maximum cluster sizes when using TCP in DIST, as well as REPL and INVALIDATION?
Hmm, I think we already discussed it some time ago and the conclusion was that UDP performed better for 8-node cluster and bigger. This was also confirmed by our tests.
When we tested 4-node cluster, the results were more or less the same for both TCP and UDP.
Changes look acceptable to me. Please add comments if there is a reason to reopen to this bug. Thanks, Gemma!
This bug is approved and available at: