-
Notifications
You must be signed in to change notification settings - Fork 223
Description
Description
Hi! We've encountered a use-case we'd love to discuss over here. We're proposing a new header that could be useful for registries that are behind proxies. Those proxies usually buffer requests so for big layers it degrades performance and memory usage of the server. It would be nice if the registry, either on upload creation (POST /v2/:name/blobs/uploads/
) or in another way to hint the client the preferred max chunk size.
For example, I've seen places that document the header OCI-Chunk-Min-Length
, the purpose is hinting a minimum chunk size for clients. It would be amazing to see the counter-part OCI-Chunk-Max-Length
.
Is it something interesting to see in https://distribution.github.io/distribution/spec/api/?
I feel like this would be incredibly useful for registries that have limited resources.