Skip to content

Commit ab3deeb

Browse files
Notes (comments) for future improvements.
1 parent c47a7b9 commit ab3deeb

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

modules/concept-docs/pages/best-practices.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@ xref:ref:client-settings.adoc#constrained-network-environments[best timeout opti
9494
or at least set a xref:ref:client-settings.adoc#wan-development[WAN development Configuration Profile].
9595

9696

97+
// Something on longer timeouts and fewer retries?
98+
// ... reading the logs to find the pattern?
99+
100+
101+
// & Something on polling rate the SDK uses to fetch an updated cluster map whenever a topology change occurs.
102+
////
103+
By default the Java SDK polls every 2.5 seconds, regardless of server version or SDK version.
104+
This interval is configurable via the io.configPollInterval client setting.
105+
https://docs.couchbase.com/java-sdk/current/ref/client-settings.html#io.configPollInterval
106+
When Java SDK 3.5.0 or later is used with Couchbase Server 7.6 or later, the SDK also listens for config change notifications from the server. In this case the polling acts as a failsafe, so it's probably okay to set it significantly higher than 2.5 seconds.
107+
////
108+
97109
// write after more LZA added
98110
////
99111
=== Read From Replica

0 commit comments

Comments
 (0)