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
| 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" |
962
962
| 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 |
963
963
| 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|
967
967
| 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 |
968
968
| 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 |
969
969
| 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