10000 docs: pull through cache will pull from remote multiple times by yiyun-sj · Pull Request #4664 · distribution/distribution · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: pull through cache will pull from remote multiple times #4664

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yiyun-sj
Copy link

Description

We see from the code and code comment in proxyblobstore.go that: "If the blob has been serving in other requests. Will return the blob from the remote store directly". That means concurrent pulls will pull from remote multiple times. The original docs says "concurrent requests do not pull duplicate data", which was confusing.

@milosgajdos
Copy link
Member

Sign your commit please.

Summary:
We see from the code and code comment in proxyblobstore.go that:
"If the blob has been serving in other requests. Will return the blob from the
remote store directly". That means concurrent pulls will pull from remote
multiple times.

Signed-off-by: Sam Jia <yiyunj@twitter.com>
@yiyun-sj yiyun-sj force-pushed the fix-proxy-concurrent-pulls-docs branch from f9b63e9 to 8a5addf Compare July 1, 2025 15:58
@yiyun-sj
Copy link
Author
yiyun-sj 74C6 commented Jul 1, 2025

Sign your commit please.

Oops, signed with personal email, updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0