-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: use global thread pool to support prefetch
Currently we use a prefetch manager per backend, this design has two drawbacks: - spawn too many worker threads for prefetch - the network ratelimit has been defunct So change the design to use a global prefetch manager with thread pool to supporrt all prefetch requests. Signed-off-by: Jiang Liu <[email protected]>
- Loading branch information
Showing
4 changed files
with
243 additions
and
225 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
Oops, something went wrong.