-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: use global thread pool to support prefetch #1187
base: master
Are you sure you want to change the base?
Conversation
@jiangliu , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/63200 |
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]>
@jiangliu , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/63211 |
@jiangliu , The CI test is completed, please check result:
Congratulations, your test job passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test for improvement is required.
Currently we use a prefetch manager per backend, this design has two drawbacks:
So change the design to use a global prefetch manager with thread pool to supporrt all prefetch requests.