Commit Graph

23 Commits (95bf3021899edef53aa6aba6d3c7172eded3560e)

Author SHA1 Message Date
Peter Dillinger 7555243bcf Refactor ShardedCache for more sharing, static polymorphism (#10801) 2 years ago
Peter Dillinger 5724348689 Revamp, optimize new experimental clock cache (#10626) 2 years ago
Gang Liao 0b6bc101ba Charge blob cache usage against the global memory limit (#10321) 2 years ago
gitbw95 8102690a52 Update Cache::Release param from force_erase to erase_if_last_ref (#9728) 3 years ago
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 3 years ago
anand76 8ea0a2c1bd Parallelize secondary cache lookup in MultiGet (#8405) 4 years ago
Peter Dillinger 311a544c2a Use deleters to label cache entries and collect stats (#8297) 4 years ago
anand76 feb06e83b2 Initial support for secondary cache in LRUCache (#8271) 4 years ago
Peter Dillinger 78a309bf86 New Cache API for gathering statistics (#8225) 4 years ago
Levi Tamasi e6f86cfb36 Revert the recent cache deleter change (#6620) 5 years ago
Levi Tamasi 6301dbe7a7 Use function objects as deleters in the block cache (#6545) 5 years ago
sdong fdf882ded2 Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 5 years ago
Maysam Yabandeh 638d239507 Charge block cache for cache internal usage (#5797) 5 years ago
Vaibhav Gogte f46a2a0375 Export Cache::GetCharge (#5476) 6 years ago
Siying Dong 0bb555630f Consolidate hash function used for non-persistent data in a new function (#5155) 6 years ago
Yi Wu 05d9d82181 Revert "Move MemoryAllocator option from Cache to BlockBasedTableOpti… (#4697) 6 years ago
Yi Wu b32d087dbb Move MemoryAllocator option from Cache to BlockBasedTableOptions (#4676) 6 years ago
Yi Wu f560c8f5c8 s/CacheAllocator/MemoryAllocator/g (#4590) 6 years ago
Igor Canadi 1cf5deb8fd Introduce CacheAllocator, a custom allocator for cache blocks (#4437) 6 years ago
Siying Dong 3c327ac2d0 Change RocksDB License 8 years ago
Siying Dong d616ebea23 Add GPLv2 as an alternative license. 8 years ago
Maysam Yabandeh 4c9447d889 Add erase option to release cache 8 years ago
Siying Dong d2dce5611a Move some files under util/ to separate dirs 8 years ago
Siying Dong 2d75cd40d3 NewLRUCache() to pick number of shard bits based on capacity if not given 8 years ago
Andrew Kryczka fe395fb63d Allow incrementing refcount on cache handles 8 years ago
Yi Wu ab48c165a9 Print cache options to info log 8 years ago
Aaron Gao 4590b53a4b add stats to Cache::LookUp() 8 years ago
Yi Wu 72f8cc703c LRU cache mid-point insertion 8 years ago
Aaron Gao e408e98c8c add Name() to Cache 8 years ago
Yi Wu 4b95253587 Refactor cache.cc 9 years ago