distribution/registry/storage/cache
Stephen J Day b1f616cbff Define and implement layer info cache
This changeset defines the interface for layer info caches. Layer info caches
speed up access to layer meta data accessed in storage driver backends. The
two main operations are tests for repository membership and resolving path and
size information for backend blobs.

Two implementations are available. The main implementation leverages redis to
store layer info. An alternative implementation simply caches layer info in
maps, which should speed up resolution for less sophisticated implementations.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-02 20:15:09 -07:00
..
cache.go Define and implement layer info cache 2015-04-02 20:15:09 -07:00
cache_test.go Define and implement layer info cache 2015-04-02 20:15:09 -07:00
memory.go Define and implement layer info cache 2015-04-02 20:15:09 -07:00
memory_test.go Define and implement layer info cache 2015-04-02 20:15:09 -07:00
redis.go Define and implement layer info cache 2015-04-02 20:15:09 -07:00
redis_test.go Define and implement layer info cache 2015-04-02 20:15:09 -07:00