distribution/registry
Sargun Dhillon 35b29a609e Use the New Driver Walk method for catalog enumeration
This changes the Walk Method used for catalog enumeration. Just to show
how much an effect this has on our s3 storage:
Original:
List calls: 6839

real    3m16.636s
user    0m0.000s
sys    0m0.016s

New:
ListObjectsV2 Calls: 1805

real    0m49.970s
user    0m0.008s
sys    0m0.000s

This is because it no longer performs a list and stat per item, and instead
is able to use the metadata gained from the list as a replacement to stat.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
2018-01-07 22:45:17 -08:00
..
api registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
auth context: remove definition of Context 2017-08-11 15:53:31 -07:00
client Properly follow relative links when listing tags 2017-11-18 22:04:19 -08:00
handlers registry/handlers: ignore notfound on storage driver healthcheck 2017-08-21 15:04:31 -07:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware context: remove definition of Context 2017-08-11 15:53:31 -07:00
proxy registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
storage Use the New Driver Walk method for catalog enumeration 2018-01-07 22:45:17 -08:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
registry_test.go Allow registry clients to connect via http2 2016-08-13 22:07:42 -04:00
root.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00