distribution/docs
Liang Zheng a2afe23f38 add concurrency limits for tag lookup and untag
Harbor is using the distribution for it's (harbor-registry) registry component.
The harbor GC will call into the registry to delete the manifest, which in turn
then does a lookup for all tags that reference the deleted manifest.
To find the tag references, the registry will iterate every tag in the repository
and read it's link file to check if it matches the deleted manifest (i.e. to see
if uses the same sha256 digest). So, the more tags in repository, the worse the
performance will be (as there will be more s3 API calls occurring for the tag
directory lookups and tag file reads).

Therefore, we can use concurrent lookup and untag to optimize performance as described in https://github.com/goharbor/harbor/issues/12948.

P.S. This optimization was originally contributed by @Antiarchitect, now I would like to take it over.
Thanks @Antiarchitect's efforts with PR https://github.com/distribution/distribution/pull/3890.

Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2024-04-26 22:32:21 +08:00
..
content add concurrency limits for tag lookup and untag 2024-04-26 22:32:21 +08:00
data/menu docs: add github link in header 2023-10-12 10:00:43 +02:00
i18n Add a trademarks and docs license link 2024-02-06 16:36:46 +00:00
layouts/_default/_markup docs: fix broken links and improve link resolution 2024-01-14 21:33:55 +01:00
static docs: remove unused images 2023-10-26 13:04:56 +02:00
themes/hugo-geekdoc docs: add hugo site 2023-10-11 16:45:16 +02:00
.htmltest.yml docs: add tests 2023-10-12 09:32:55 +02:00
dockerhub.md update: readme cleanup and fxes 2023-12-21 22:05:56 +00:00
hugo.yaml Add a trademarks and docs license link 2024-02-06 16:36:46 +00:00