reflector.go/store
Alex Grintsvayg e70b9af3e4
dont overallocate ram when reading blobs from disk
ReadFile checks the file size and allocates a bit more space than we
expect we'll need. ReadAll uses Go's standard resizing algo, which
doubles the underlying array each time you hit the end. So ReadAll
ends up allocating 4MB for a full blob, while ReadFile allocates
slightly over 2MB.
2020-11-27 16:18:26 -05:00
..
speedwalk use speedwalk for faster file listing 2020-11-04 16:03:47 -05:00
atime_linux.go Use ModTime on systems that don't provide Atim file stat field 2020-07-09 15:02:32 +02:00
atime_universal.go Use ModTime on systems that don't provide Atim file stat field 2020-07-09 15:02:32 +02:00
caching.go separate singleflight cache wrapper, component names for cache metrics 2020-11-04 16:03:46 -05:00
caching_test.go separate singleflight cache wrapper, component names for cache metrics 2020-11-04 16:03:46 -05:00
cloudfront_ro.go split cloudfront into RO and RW stores 2020-11-04 16:03:45 -05:00
cloudfront_rw.go split cloudfront into RO and RW stores 2020-11-04 16:03:45 -05:00
dbbacked.go add lru cache eviction metric 2020-11-04 16:03:44 -05:00
disk.go dont overallocate ram when reading blobs from disk 2020-11-27 16:18:26 -05:00
disk_test.go dont overallocate ram when reading blobs from disk 2020-11-27 16:18:26 -05:00
lru.go separate singleflight cache wrapper, component names for cache metrics 2020-11-04 16:03:46 -05:00
lru_test.go remove afero fs abstraction in prep for using speedwalk 2020-11-04 16:03:47 -05:00
memory.go use speedwalk for faster file listing 2020-11-04 16:03:47 -05:00
memory_test.go add lru cache eviction metric 2020-11-04 16:03:44 -05:00
noop.go add noop store that does nothing 2020-11-04 16:03:45 -05:00
s3.go add lru cache eviction metric 2020-11-04 16:03:44 -05:00
singleflight.go separate singleflight cache wrapper, component names for cache metrics 2020-11-04 16:03:46 -05:00
store.go clarify Get() error requirement 2020-11-04 16:03:46 -05:00