Skip to content

Commit 1455eff

Browse files
pbhandar2meta-codesync[bot]
authored andcommitted
update intro
Summary: Rewrite few points. Remove the point that said users should use CacheLib if they have workload with variable sized object. I think that could be misleading. Regardless of variation in item sizes, CacheLib can be a potential solution. ___ overriding_review_checks_triggers_an_audit_and_retroactive_review Oncall Short Name: cachelib Differential Revision: D104296706 fbshipit-source-id: 178ed712288f0228320b7b59b16b1f723f590c88
1 parent a53d056 commit 1455eff

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

website/docs/cache_library_intro.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ thread-safe API that enables developers to build and customize scalable, concurr
1111

1212
CacheLib is targeted at services that use gigabytes of memory to cache information. It provides an API similar to `malloc` and a concurrent unordered hash table for caching. Consider using cache and cachelib for your service if any of the following applies to the service:
1313

14-
- Caching variable sized objects.
1514
- Concurrent access with zero copy semantics.
16-
- Hard RSS memory constraints for cache to avoid OOMs.
17-
- Variety of caching algorithms like LRU, Segmented LRU, FIFO, 2Q, and TTL.
18-
- Intelligent and automatic tuning of cache for dynamic changes to workload.
15+
- Strict memory bounds — the cache lives within a configured size, never overruns it.
16+
- Variety of caching algorithms like LRU, TinyLFU, LRU2Q with TTL support.
17+
- Intelligent and automatic tuning of cache (pool rebalance, class rebalance) for dynamic changes to workload.
1918
- Shared-memory based persistence of cache across process restarts.
2019
- Transparent usage of DRAM and SSD for caching.
2120

0 commit comments

Comments
 (0)