Skip to content

Commit 9e4bb97

Browse files
authored
Merge pull request #404 from sadyrov/gh-pages
Clarified '[PSG] num_io' and '[PSG] max_sessions'. JIRA CXX-14260
2 parents 22f279a + 67538b5 commit 9e4bb97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/ch_libconfig.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -961,9 +961,9 @@ Table 13.6. psg_client library configuration parameters
961961
| Either a name of service (which can be resolved into a set of PSG servers) or a single fixed PSG server (in format "host:port"). | **`[PSG]`**<br/>**`service`**<br/><br/>**`NCBI_PSG_SERVICE`** | string | "PSG2" |
962962
| How often to query LBSM, in seconds. Less or equal to zero means no rebalance based on time | **`[PSG]`**<br/>**`rebalance_time`**<br/><br/>**`NCBI_CONFIG__PSG__REBALANCE_TIME`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | double \>= 1.0 | 10.0 |
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 |
964-
| Number of internal I/O threads. | **`[PSG]`**<br/>**`num_io`**<br/><br/>**`NCBI_CONFIG__PSG__NUM_IO`**[<sup>a</sup>](#ch_libconfig.TF.psg_client_library.1) | integer \>= 1 | 1 |
965-
| 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. | **`[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 |
964+
| 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 |
965+
| 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). 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)