forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Native] Make PrestoServer create and pass connectorCpuExecutor to Co…
…nnector Create a CPUThreadPoolExecutor data member, connectorCpuExecutor_, for PrestoServer. Pass it to every created Connector. Add a new config `connector.num-cpu-threads-hw-multiplier` to control how many threads would be used for the executor. `connector.num-cpu-threads-hw-multiplier` will set connectorCpuExecutor_ to nullptr. Make a process-wise managed CPUThreadPoolExecutor instance available to all connectors. Connector could schedule CPU-bound async operators to it so that they will not occupy the driver thread pool.
- Loading branch information
Showing
5 changed files
with
44 additions
and
2 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
Submodule velox
updated
67 files