You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a leader failover / shutdown etc., there is a period of time when io.aeron.cluster.client.AeronCluster is not aware of the leader being down and still allows messages to be sent that never reach the cluster - this is expected.
However, the detection time seems to always be ~5 seconds with the default configuration. I think that a 5-second client reaction time is not something that most systems are willing to tolerate. I tried to experiment semi randomly with different cluster / client timeout configurations, but I struggled to get satisfying results.
Can you please suggest client and cluster configurations that could help reduce io.aeron.cluster.client.AeronCluster leader down detection time? This most likely will have implications in other areas, but that might be acceptable.
Are there any other checks that I am missing to detect the client being connected to the stale leader?
Running on Windows 11 / Java 21. Minimum working example attached. Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When there is a leader failover / shutdown etc., there is a period of time when
io.aeron.cluster.client.AeronClusteris not aware of the leader being down and still allows messages to be sent that never reach the cluster - this is expected.However, the detection time seems to always be ~5 seconds with the default configuration. I think that a 5-second client reaction time is not something that most systems are willing to tolerate. I tried to experiment semi randomly with different cluster / client timeout configurations, but I struggled to get satisfying results.
Can you please suggest client and cluster configurations that could help reduce
io.aeron.cluster.client.AeronClusterleader down detection time? This most likely will have implications in other areas, but that might be acceptable.Are there any other checks that I am missing to detect the client being connected to the stale leader?
Running on Windows 11 / Java 21. Minimum working example attached. Thanks in advance.
LeaderFailoverTest.java
Beta Was this translation helpful? Give feedback.
All reactions