All Downloads are FREE. Search and download functionalities are using the official Maven repository.

groups.5.2.27.Final.source-code.tcp-minimal.xml Maven / Gradle / Ivy

There is a newer version: 5.3.13.Final
Show newest version
<!--
  Sample TCP configuration without UNICAST3, NAKACK2, fragmentation and flow control protocols. See
  https://issues.redhat.com/browse/JGRP-2566 for details
  author: Bela Ban
-->

<config xmlns="urn:org:jgroups"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd">

    <TCP
         bind_addr="${jgroups.bind_addr:match-address:192.*,site_local,loopback}"
         bind_port="${jgroups.bind_port:7800}"

         buffered_input_stream_size="8192"
         buffered_output_stream_size="8192"

         thread_pool.enabled="true"
         thread_pool.max_threads="200"
         thread_pool.rejection_policy="run"

         message_processing_policy="direct"
         use_virtual_threads="false"
         use_acks="true"
         bundler_type="transfer-queue"
         policies="org.jgroups.stack.CheckCallerRunsPolicy,org.jgroups.stack.CheckForAbsenceOfRED" />
    <MPING mcast_addr="224.0.0.5" />
    <TCPPING async_discovery="true"
             initial_hosts="${jgroups.tcpping.initial_hosts:localhost[7800],localhost[7801]}"
             return_entire_cache="${jgroups.tcpping.return_entire_cache:false}"
             port_range="${jgroups.tcp.port_range:2}"/>
    <MERGE3 max_interval="120000"
            min_interval="30000"/>
    <FD_SOCK />
    <FD_ALL3 />
    <VERIFY_SUSPECT timeout="1500"  />
    <pbcast.NAKACK2 xmit_interval="500" use_mcast_xmit="false"/>
    <!--UNICAST3 conn_close_timeout="60000"/-->
    <pbcast.STABLE desired_avg_gossip="50000"
                   max_bytes="4M"/>
    <pbcast.GMS print_local_addr="true" join_timeout="500"/>
    <!--UFC max_credits="2M"
         min_threshold="0.4"/-->
    <MFC max_credits="2M"
         min_threshold="0.4"/>
    <FRAG4 frag_size="60K"  />
    <pbcast.STATE_TRANSFER/>
    <!--TIME down_msgs="true" up_batches="true" up_msgs="false"/-->

</config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy