rocksdb/utilities/simulator_cache
haoyuhuang 1a59b6e2a9 Cache simulator: Add a ghost cache for admission control and a hybrid row-block cache. (#5534)
Summary:
This PR adds a ghost cache for admission control. Specifically, it admits an entry on its second access.
It also adds a hybrid row-block cache that caches the referenced key-value pairs of a Get/MultiGet request instead of its blocks.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5534

Test Plan: make clean && COMPILE_WITH_ASAN=1 make check -j32

Differential Revision: D16101124

Pulled By: HaoyuHuang

fbshipit-source-id: b99edda6418a888e94eb40f71ece45d375e234b1
2019-07-11 12:43:29 -07:00
..
cache_simulator_test.cc Cache simulator: Add a ghost cache for admission control and a hybrid row-block cache. (#5534) 2019-07-11 12:43:29 -07:00
cache_simulator.cc Cache simulator: Add a ghost cache for admission control and a hybrid row-block cache. (#5534) 2019-07-11 12:43:29 -07:00
cache_simulator.h Cache simulator: Add a ghost cache for admission control and a hybrid row-block cache. (#5534) 2019-07-11 12:43:29 -07:00
sim_cache_test.cc Per-thread unique test db names (#4135) 2018-07-13 17:27:39 -07:00
sim_cache.cc Export Cache::GetCharge (#5476) 2019-06-18 17:35:41 -07:00