• K
    Added PersistentCache abstraction · a08c8c85
    krad 提交于
    Summary:
    Added a new abstraction to cache page to RocksDB designed for the read
    cache use.
    
    RocksDB current block cache is more of an object cache. For the persistent read cache
    project, what we need is a page cache equivalent. This changes adds a cache
    abstraction to RocksDB to cache pages called PersistentCache. PersistentCache can cache
    uncompressed pages or raw pages (content as in filesystem). The user can
    choose to operate PersistentCache either in  COMPRESSED or UNCOMPRESSED mode.
    
    Blame Rev:
    
    Test Plan: Run unit tests
    
    Reviewers: sdong
    
    Subscribers: andrewkr, dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D55707
    a08c8c85
src.mk 21.5 KB