[jboss-cvs] JBossAS SVN: r82374 - branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 18 10:27:02 EST 2008


Author: galder.zamarreno at jboss.com
Date: 2008-12-18 10:27:02 -0500 (Thu, 18 Dec 2008)
New Revision: 82374

Modified:
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml
   branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-entity-cache-service.xml
Log:
[JBPAPP-1515] Distribute alternative TCP stacks for EJB3 clustered services.

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml	2008-12-18 14:46:00 UTC (rev 82373)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-clustered-sfsbcache-service.xml	2008-12-18 15:27:02 UTC (rev 82374)
@@ -83,6 +83,50 @@
           <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
           <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
         </config>
+        
+        <!-- Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts -->
+        <!--
+        <Config>
+          <TCP bind_addr="thishost" start_port="7820" loopback="true"
+               tcp_nodelay="true"
+               recv_buf_size="20000000"
+               send_buf_size="640000"
+               discard_incompatible_packets="true"
+               enable_bundling="false"
+               max_bundle_size="64000"
+               max_bundle_timeout="30"
+               use_incoming_packet_handler="true"
+               use_outgoing_packet_handler="false"
+               down_thread="false" up_thread="false"
+               use_send_queues="false"
+               sock_conn_timeout="300"
+               skip_suspected_members="true"/>
+          <TCPPING initial_hosts="thishost[7820],otherhost[7820]" port_range="3"
+                   timeout="3000"
+                   down_thread="false" up_thread="false"
+                   num_initial_members="3"/>
+          <MERGE2 max_interval="100000"
+                  down_thread="false" up_thread="false" min_interval="20000"/>
+          <FD_SOCK down_thread="false" up_thread="false"/>
+          <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+          <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+          <pbcast.NAKACK max_xmit_size="60000"
+                         use_mcast_xmit="false" gc_lag="0"
+                         retransmit_timeout="300,600,1200,2400,4800"
+                         down_thread="false" up_thread="false"
+                         discard_delivered_msgs="true"/>
+          <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                         down_thread="false" up_thread="false"
+                         max_bytes="400000"/>
+          <pbcast.GMS print_local_addr="true" join_timeout="3000"
+                      down_thread="false" up_thread="false"
+                      join_retry_timeout="2000" shun="true"
+                      view_bundling="true"/>
+          <FC max_credits="2000000" down_thread="false" up_thread="false"
+              min_threshold="0.10"/>
+          <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+        </Config>
+        -->        
       </attribute>
 
       <!--    The max amount of time (in milliseconds) we wait until the

Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-entity-cache-service.xml
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-entity-cache-service.xml	2008-12-18 14:46:00 UTC (rev 82373)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/resources/ejb3-entity-cache-service.xml	2008-12-18 15:27:02 UTC (rev 82374)
@@ -86,6 +86,48 @@
             <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
             <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
         </config>
+        
+        <!-- Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts -->
+        <!--
+        <Config>
+            <TCP bind_addr="thishost" start_port="7830" loopback="true"
+                 tcp_nodelay="true"
+                 recv_buf_size="20000000"
+                 send_buf_size="640000"
+                 discard_incompatible_packets="true"
+                 enable_bundling="false"
+                 max_bundle_size="64000"
+                 max_bundle_timeout="30"
+                 use_incoming_packet_handler="true"
+                 use_outgoing_packet_handler="false"
+                 down_thread="false" up_thread="false"
+                 use_send_queues="false"
+                 sock_conn_timeout="300"
+                 skip_suspected_members="true"/>
+            <TCPPING initial_hosts="thishost[7830],otherhost[7830]" port_range="3"
+                     timeout="3000"
+                     down_thread="false" up_thread="false"
+                     num_initial_members="3"/>
+            <MERGE2 max_interval="100000"
+                    down_thread="false" up_thread="false" min_interval="20000"/>
+            <FD_SOCK down_thread="false" up_thread="false"/>
+            <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
+            <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
+            <pbcast.NAKACK max_xmit_size="60000"
+                           use_mcast_xmit="false" gc_lag="0"
+                           retransmit_timeout="300,600,1200,2400,4800"
+                           down_thread="false" up_thread="false"
+                           discard_delivered_msgs="true"/>
+            <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
+                           down_thread="false" up_thread="false"
+                           max_bytes="400000"/>
+            <pbcast.GMS print_local_addr="true" join_timeout="3000"
+                        down_thread="false" up_thread="false"
+                        join_retry_timeout="2000" shun="true"
+                        view_bundling="true"/>
+            <pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/>
+        </Config>
+        -->        
       </attribute>
 
     <!--    The max amount of time (in milliseconds) we wait until the




More information about the jboss-cvs-commits mailing list