[optimize](remote) Optimize cache reader use a pre-created buffer when downloading the cache (#12165)

* optimize cache reader

* add description for config

* optimize cache reader

* optimize cache reader
This commit is contained in:
zxealous
2022-08-31 10:15:40 +08:00
committed by GitHub
parent f0cde35ea6
commit 254cb321b9
10 changed files with 151 additions and 71 deletions

View File

@ -137,6 +137,7 @@ Status ExecEnv::_init(const std::vector<StorePath>& store_paths) {
.set_max_queue_size(config::download_cache_thread_pool_queue_size)
.build(&_download_cache_thread_pool);
set_serial_download_cache_thread_token();
init_download_cache_buf();
_scanner_scheduler = new doris::vectorized::ScannerScheduler();