File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
driver/src/main/java/oracle/nosql/driver Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 6262 * some non-default configuration options related to how threads and
6363 * connections are managed by the networking implementation (Netty).
6464 * <p>
65- * There are 3 methods on {@link NoSQLHandleConfig} that relate to threads
65+ * There is a method on {@link NoSQLHandleConfig} that relates to threads
6666 * and connections. If your application isn't getting the performance
67- * expected these can be tuned. There is no single answer to what is best.
67+ * expected it can be tuned. There is no single answer to what is best.
6868 * It is best to experiment with different values and observe the behavior.
6969 * <ol>
7070 * <li> {@link NoSQLHandleConfig#setNumThreads}. This is the number
7373 * Unless your application has high latency operations this should be
7474 * sufficient.
7575 * </li>
76- * <li> {@link NoSQLHandleConfig#setConnectionPoolSize}. This is the
77- * default size of the Netty connection pool. It also defaults to the
78- * number of available CPUs * 2. Again, unless you have high latency
79- * operations (long queries) this should be sufficient for most needs. </li>
8076 * </ol>
8177 * When tuning multi-threaded applications it's important to remember that
8278 * it's possible to have too many threads and that more threads does not
83- * equal more performance. The optimal number depends on request latency and
84- * other I/O performed. It is best to experiment.
79+ * automatically equal more performance. The optimal number depends on
80+ * request latency and other I/O performed. It is best to experiment.
8581 *
8682 * <p><strong><a id="Logging">Logging in the SDK</a></strong></p>
8783 * <p>
You can’t perform that action at this time.
0 commit comments