distribution/registry/storage/cache
Aaron Lehmann e36cb0a5d8 registry/storage/cache/memory: Use LRU cache to bound cache size
Instead of letting the cache grow without bound, use a LRU to impose a
size limit.

The limit is configurable through a new `blobdescriptorsize` config key.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
2022-09-07 07:20:06 -07:00
..
cachecheck go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
memory registry/storage/cache/memory: Use LRU cache to bound cache size 2022-09-07 07:20:06 -07:00
metrics go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
redis go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
cache.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
cache_test.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
cachedblobdescriptorstore.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00