Skip to content

Commit 67538b5

Browse files
author
Rafael Sadyrov
committed
Changed default value for and clarified '[PSG] max_concurrent_streams'. JIRA CXX-14255
1 parent 48f3324 commit 67538b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/ch_libconfig.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ Table 13.6. psg_client library configuration parameters
963963
| How often to query LBSM while no servers discovered, in seconds. Less or equal to zero means `rebalance_time` is used instead | **`[PSG]`**<br/>**`no_servers_retry_delay`**<br/><br/>**`NCBI_CONFIG__PSG__NO_SERVERS_RETRY_DELAY`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | double | 1.0 |
964964
| Number of internal I/O threads. Each thread has one session (TCP connection) per server at start. New sessions are added dynamically (up to the 'max_sessions' limit, see below). | **`[PSG]`**<br/>**`num_io`**<br/><br/>**`NCBI_CONFIG__PSG__NUM_IO`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
965965
| Max number of sessions (TCP connections) per server per I/O thread. Each thread has one session per server at start. New sessions are added dynamically (up to the limit) if all existing ones are full. For a single-server service the limit is at least 2. | **`[PSG]`**<br/>**`max_sessions`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_SESSIONS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
966-
| Maximum number of concurrent streams per session (TCP connection) | **`[PSG]`**<br/>**`max_concurrent_streams`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_STREAMS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 10 | 100 |
966+
| Maximum number of concurrent streams per session (TCP connection). This limit is automatically reduced to the server limit if the latter is lower. | **`[PSG]`**<br/>**`max_concurrent_streams`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_STREAMS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 10 | 200 |
967967
| Maximum number of concurrent submits per "on queue" callback. Essentially, maximum number of requests to be sent per one I/O operation. | **`[PSG]`**<br/>**`max_concurrent_submits`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_SUBMITS`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 150 |
968968
| Maximum number of concurrent requests per server. | **`[PSG]`**<br/>**`max_concurrent_requests_per_server`**<br/><br/>**`NCBI_CONFIG__PSG__MAX_CONCURRENT_REQUESTS_PER_SERVER`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 100 | 500 |
969969
| Number of requests to submit consecutively per I/O thread | **`[PSG]`**<br/>**`requests_per_io`**<br/><br/>**`NCBI_CONFIG__PSG__REQUESTS_PER_IO`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |

0 commit comments

Comments
 (0)