-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PERF] Update default max_connections 64->8 because it is now per-io-…
…thread (#1485) Updates default max_connections value from 64 to 8 Also renames `max_connections` in internal APIs to `max_connections_per_io_thread` to be more explicit, but keeps naming for external-facing APIs for backwards compatibility Note that the total number of connections being spawned for PyRunner is: `8.min(Num CPUs) * max_connections`, and theses are shared throughout the multithreaded backend The total number of connections being spawned for RayRunner after #1484 is: `num_ray_workers * 1 (sine we run single-threaded) * max_connections` --------- Co-authored-by: Jay Chia <[email protected]@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters