Guest User

jgroups-tcp.xml

a guest
Dec 5th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.43 KB | None | 0 0
  1. <!-- TCP based stack, with flow control and message bundling. This is usually used when IP multicasting cannot be used in a network,
  2.    e.g. because it is disabled (routers discard multicast).  -->
  3. <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-3.0.xsd">
  4.     <TCP loopback="true"
  5.        recv_buf_size="${tcp.recv_buf_size:20M}"
  6.        send_buf_size="${tcp.send_buf_size:640K}"
  7.        discard_incompatible_packets="true"
  8.        max_bundle_size="64K"
  9.        max_bundle_timeout="30"
  10.        enable_bundling="true"
  11.        use_send_queues="true"
  12.        sock_conn_timeout="300"
  13.        timer_type="new"
  14.        timer.min_threads="4"
  15.        timer.max_threads="10"
  16.        timer.keep_alive_time="3000"
  17.        timer.queue_max_size="500"
  18.        thread_pool.enabled="true"
  19.        thread_pool.min_threads="1"
  20.        thread_pool.max_threads="10"
  21.        thread_pool.keep_alive_time="5000"
  22.        thread_pool.queue_enabled="false"
  23.        thread_pool.queue_max_size="100"
  24.        thread_pool.rejection_policy="discard"
  25.        oob_thread_pool.enabled="true"
  26.        oob_thread_pool.min_threads="1"
  27.        oob_thread_pool.max_threads="8"
  28.        oob_thread_pool.keep_alive_time="5000"
  29.        oob_thread_pool.queue_enabled="false"
  30.        oob_thread_pool.queue_max_size="100"
  31.        oob_thread_pool.rejection_policy="discard"
  32.        bind_addr="${hybris.jgroups.bind_addr}"
  33.        bind_port="${hybris.jgroups.bind_port}" />
  34.  
  35.     <JDBC_PING connection_driver="${hybris.database.driver}"
  36.        connection_password="${hybris.database.password}"
  37.        connection_username="${hybris.database.user}"
  38.        connection_url="${hybris.database.url}"
  39.        initialize_sql="${hybris.jgroups.schema}"/>
  40.  
  41.     <MERGE2 min_interval="10000" max_interval="30000" />
  42.     <FD_SOCK />
  43.     <FD timeout="3000" max_tries="3" />
  44.     <VERIFY_SUSPECT timeout="1500" />
  45.     <BARRIER />
  46.     <pbcast.NAKACK use_mcast_xmit="true" exponential_backoff="500" discard_delivered_msgs="true" />
  47.     <UNICAST />
  48.     <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" max_bytes="4M" />
  49.     <pbcast.GMS print_local_addr="true" join_timeout="3000" view_bundling="true" />
  50.     <UFC max_credits="2M" min_threshold="0.4" />
  51.     <MFC max_credits="2M" min_threshold="0.4" />
  52.     <FRAG2 frag_size="60K" />
  53.     <pbcast.STATE_TRANSFER />
  54. </config>
Add Comment
Please, Sign In to add comment