distribution/registry/storage
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
..
cache registry: remove dependency on logrus for client 2017-08-15 10:28:38 -07:00
driver Use the New Driver Walk method for catalog enumeration 2018-01-07 22:45:17 -08:00
blob_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobcachemetrics.go registry: remove dependency on logrus for client 2017-08-15 10:28:38 -07:00
blobserver.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobstore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
blobwriter.go registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
blobwriter_nonresumable.go If resumable digest support is disabled, detct this when closing the blobwriter 2016-06-13 17:35:06 -07:00
blobwriter_resumable.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
catalog.go Use the New Driver Walk method for catalog enumeration 2018-01-07 22:45:17 -08:00
catalog_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
digester_resumable_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
doc.go Move storage package under registry package 2015-02-11 12:43:04 -08:00
filereader.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
filereader_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
garbagecollect.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00
garbagecollect_test.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00
io.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
linkedblobstore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
linkedblobstore_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
manifestlisthandler.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
manifeststore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
manifeststore_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
paths.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
paths_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
purgeuploads.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
purgeuploads_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
registry.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
schema2manifesthandler.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
schema2manifesthandler_test.go Update schema2 builder to take media type 2016-12-14 16:17:20 -08:00
signedmanifesthandler.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
tagstore.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
tagstore_test.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
util.go context: remove definition of Context 2017-08-11 15:53:31 -07:00
vacuum.go add possibility to clean untagged manifests 2018-01-05 12:20:01 +02:00
walk.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
walk_test.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00