{"adoption": {"forks": 322, "observed_at": "2026-08-28T04:05:07.609491+00:00", "stars": 1585}, "canonical_url": "https://ross.abutalabs.com/products/cachelib", "card": {"archived": false, "artifact_type": "library", "description": "Pluggable in-process caching engine to build and scale high performance services", "domain": ["databases", "performance", "backend", "developer-tools"], "enriched": true, "function": ["caching", "benchmarking", "concurrency"], "health_score": 100, "homepage": "https://www.cachelib.org", "language": "C++", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["facebook/CacheLib"], "name": "facebook/CacheLib", "platform": ["cpp", "self-hosted"], "pushed_at": "2026-08-26T18:16:10+00:00", "repo": "facebook/CacheLib", "stars": 1585, "tags": ["in-process-cache", "dram", "ssd-caching", "hybrid-cache", "eviction-policies", "thread-safe", "facebook", "cache-persistence", "linux"], "topics": ["performance", "cpp", "cache", "ssd", "concurrency", "cache-engine"], "urls": [], "use_cases": ["add high-throughput in-process caching to a C++ backend service", "cache data across DRAM and SSD transparently", "replace a multi-gigabyte evictable hash map with a scalable cache", "benchmark and compare cache eviction policies like LRU, TinyLFU, and 2Q", "evaluate hardware trade-offs between DRAM-only and hybrid DRAM+SSD caches", "persist cache contents across process restarts via shared memory", "stress test cache implementations for correctness and performance issues"], "what_it_is": "CacheLib is a C++ library providing a pluggable, thread-safe in-process caching engine with transparent DRAM and SSD tiering. It includes CacheBench, a benchmarking and stress-testing tool for evaluating cache heuristics, configurations, and hardware choices.", "when_to_avoid": ["you need a distributed cache with consistency or sharding across hosts", "you want a simple drop-in key-value store without C++ integration work", "your workload is small enough for a plain in-memory map", "you need a standalone cache server rather than an embedded library"], "when_to_choose": ["your service caches gigabytes of data and needs strict memory bounds", "you need concurrent, zero-copy cache access with low overhead", "you want automatic pool rebalancing and workload-adaptive tuning", "you need to evaluate cache heuristics or hardware choices with realistic workloads"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cachelib", "repo": "facebook/CacheLib", "role": "main", "score": 99}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.609491+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:55:32.310787+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "77b01944079a5ae02cd909e6673e3d13c8b812fff3af4f51f5ca579ac5533c67", "fetched_at": "2026-08-28T04:05:07.609491+00:00", "kind": "readme", "missing": false, "url": "https://github.com/facebook/CacheLib"}, {"content_hash": "de7dc56aef8758be2925f1cdbf42aaf52b534288003ef84ca74981ff64509e87", "fetched_at": "2026-08-29T11:26:14.093461+00:00", "kind": "homepage", "missing": false, "url": "https://www.cachelib.org"}, {"content_hash": "6f70ef42bfe29f8fffd4bb7689fd4867162bec2bc3d4070af09e209f0b98d5cf", "fetched_at": "2026-08-29T11:26:14.102939+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/installation"}, {"content_hash": "32af9595157b0ac534e71294b95735c9952ac0c5b7ec1f96aa9bc63ef3331301", "fetched_at": "2026-08-29T11:26:14.104936+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs"}, {"content_hash": "e201e768c2493f2d1db4e3ead0dbed3d6298f57eb03d83348630ff79ec732450", "fetched_at": "2026-08-29T11:26:14.106689+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_Overview"}, {"content_hash": "1714ab5209af4d73ac275c16d200c08dbb884dd6f0efd61037fc65b043383eb1", "fetched_at": "2026-08-29T11:26:14.108319+00:00", "kind": "site_page", "missing": false, "url": "https://cachelib.org/docs/Cache_Library_Architecture_Guide/overview_a_random_walk"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 99}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2476, "days_push": 7, "days_rel": 9, "gap_med": 6.0, "n_releases_24m": 15}, "score": 99, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}