Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Facebook Opens Up CacheLib As Their New Caching Engine
CacheLib's development was motivated in part by increasing prices around system memory. The Facebook announcement noted, "As traditional dynamic random-access memory (DRAM) caches become more expensive and require more power to scale, companies like Facebook are exploring hardware choices such as non-volatile memory (NVM) drives to augment their caching systems. This DRAM and NVM hybrid model is a step forward, but innovative caching designs are needed to harness the full potential of the hybrid cache."
CacheLib is C++ based and is a pluggable, in-process caching engine. CacheLib is being used now by more than 70 large-scale systems at Facebook from their social graph to CDN.
Those wanting to learn more about this open-source caching engine can read Facebook Engineering's announcement. There is also a project site at Cachelib.org and the Apache 2.0 licensed code is hosted on GitHub.