You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When pulling many artifacts at the same time on a container proxy-cache, we can still trigger the rate limiting on the upstream registries and get 429 Too Many Requests errors.
This is in part caused by HEAD requests being sent for each artifact pull.
Describe the solution you'd like
This feature request aims to reduce the load on upstream registries by caching head requests when pulling from a proxy-cache registry.
The solution could consist of a cache for calls to HeadManifest, perhaps configurable to be valid for a certain period of time?
Describe the main design/architecture of your solution
Is your feature request related to a problem? Please describe.
When pulling many artifacts at the same time on a container proxy-cache, we can still trigger the rate limiting on the upstream registries and get
429 Too Many Requests
errors.This is in part caused by HEAD requests being sent for each artifact pull.
Describe the solution you'd like
This feature request aims to reduce the load on upstream registries by caching head requests when pulling from a proxy-cache registry.
The solution could consist of a cache for calls to HeadManifest, perhaps configurable to be valid for a certain period of time?
Describe the main design/architecture of your solution
If the cache is invalid or the key is not found, run remote.ManifestExist, and save a boolean in the proxy controller cache.
Describe the development plan you've considered
Additional context
Since this feature would change the default behavior of the proxy-cache, it may trigger more discussions.
The text was updated successfully, but these errors were encountered: