Skip to content

Optimize the number of auth requests #594

@Wwwsylvia

Description

@Wwwsylvia

We had an issue on ORAS for optimizing the number of auth request: oras-project/oras#1097
We should also review oras-go and apply similar optimization. For instance, we can add pull scope hint in addition to delete in the referrers tag schema code path on manifest delete:

manifestJSON, err := content.FetchAll(ctx, s, target)
if err != nil {
return err
}
if err := s.indexReferrersForDelete(ctx, target, manifestJSON); err != nil {
return err
}
}
return s.repo.delete(ctx, target, true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    perfPerformance related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions