-
Using JGroups on a network with ping times in the 5 seconds. What parameters can I tweak to make connection and member joining more stable.? Have already adjusted GMS join timeout and FDSOCK2 connect timeout to 10 seconds Base config is the default multicast (udp.xml) Appreciate it! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Rob it depends... what transport are you using? UDP would probably be recommended over TCP, as the SYN-ACK-SYNACK connection establishment costs you dearly. Even worse when using TLS. +1 on increasing the If you use RPCs, make sure you set the call timeouts accordingly. Perhaps also use async RPCs in this case. Is the latency fluctuating, or is it always 5s? |
Beta Was this translation helpful? Give feedback.
Hi Rob
it depends... what transport are you using? UDP would probably be recommended over TCP, as the SYN-ACK-SYNACK connection establishment costs you dearly. Even worse when using TLS.
+1 on increasing the
GMS.join_timeout
andFD_SOCK2.connect_timeout
timeouts. You might even consider removingFD_SOCK2
altogether and only useFD_ALL3
If you use RPCs, make sure you set the call timeouts accordingly. Perhaps also use async RPCs in this case.
Is the latency fluctuating, or is it always 5s?
Also note that you could use
DELAY
to simulate this environment in your test env, if test env != prod env.