distribution/registry/storage/driver
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
..
azure Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
base Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
factory Add documentation for how to register new StorageDrivers 2016-03-29 14:42:19 -07:00
filesystem Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
gcs Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
inmemory Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
middleware add s3 region filters for cloudfront 2017-12-01 15:58:58 -08:00
oss Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
s3-aws Use the New Driver Walk method for catalog enumeration 2018-01-07 22:45:17 -08:00
s3-goamz Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
swift Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
testdriver context: remove definition of Context 2017-08-11 15:53:31 -07:00
testsuites context: remove definition of Context 2017-08-11 15:53:31 -07:00
fileinfo.go
storagedriver.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
walk.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00