<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Thanks Brian. Will do<BR><BR><BR><BR>
<HR id=stopSpelling>
&gt; Date: Wed, 14 May 2008 09:53:18 -0500<BR>&gt; From: brian.stansberry@redhat.com<BR>&gt; To: wagad@hotmail.com<BR>&gt; CC: jboss-cluster-dev@lists.jboss.org<BR>&gt; Subject: Re: [jboss-cluster-dev] TCP vs. UDP<BR>&gt; <BR>&gt; Please post on the JBoss Clustering User Forum at <BR>&gt; http://www.jboss.com/index.html?module=bb&amp;op=viewforum&amp;f=64 . This <BR>&gt; mailing list is for discussions related to the development of clustering <BR>&gt; features in JBoss projects, not for usage questions.<BR>&gt; <BR>&gt; M Wagad wrote:<BR>&gt; &gt; We have 2 node JBOSS Cluster, and we are having performance issue, what <BR>&gt; &gt; we found out is that if we turn of the slave server, and operate the one <BR>&gt; &gt; master node (Changing the load balance to 100/0), we have much better <BR>&gt; &gt; performance then when we have both of the running sharing the load with <BR>&gt; &gt; 50/50 load balance.<BR>&gt; &gt; <BR>&gt; &gt; Would changing the default Protocol of UDP to TCP make any difference in <BR>&gt; &gt; terms of Performance?<BR>&gt; &gt; <BR>&gt; &gt; I had come across these posts on the Net that praises TCP over UDP for <BR>&gt; &gt; organizations that have less then 16 JBOSS Nodes :-<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; For TCP…<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; /“We experiment with another configuration using TCP/IP and show that <BR>&gt; &gt; current J2EE application server clusters up to 16 nodes (the largest <BR>&gt; &gt; configuration we tested) can scale much better with this configuration. /<BR>&gt; &gt; <BR>&gt; &gt; /We attribute the superiority of TCP/IP based group communications over <BR>&gt; &gt; UDP/IP multicast to a better flow control management and a better usage <BR>&gt; &gt; of the network switches available in cluster environments.”/<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; And UDP..<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; “Having to support reliable multicast UDP communication is not a piece <BR>&gt; &gt; of cake. Drop a couple of packets and you get only a fraction of the <BR>&gt; &gt; throughput. Then lose the ordering of the packets and you are in a <BR>&gt; &gt; slump. The situation can turn pretty sour if you use large messages that <BR>&gt; &gt; get fragmented (more than one UDP packet). You only need to lose one <BR>&gt; &gt; packet to lose your entire message - then you resend everything. The <BR>&gt; &gt; point is that in unideal and congested conditions you start to miss TCP, <BR>&gt; &gt; and it is probably extremely hard to beat its adaptive protocol that has <BR>&gt; &gt; been perfected for so many years.”<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; I would also like to know if any companies out there make the change <BR>&gt; &gt; from UDP to TCP and if they can share their experience with us.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Thanks<BR>&gt; &gt; M. Wagad.<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; <BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; jboss-cluster-dev mailing list<BR>&gt; &gt; jboss-cluster-dev@lists.jboss.org<BR>&gt; &gt; https://lists.jboss.org/mailman/listinfo/jboss-cluster-dev<BR>&gt; <BR>&gt; -- <BR>&gt; Brian Stansberry<BR>&gt; Lead, AS Clustering<BR>&gt; JBoss, a division of Red Hat<BR>&gt; brian.stansberry@redhat.com<BR><br /><hr /> <a href='' target='_new'></a></body>
</html>