#cache #lru-cache #memory #heterogenous #tracking #recency

shared_lru

Have multiple caches with heterogenous tracking of recency

6 releases

0.1.5 Dec 11, 2021
0.1.4 Dec 11, 2021

#308 in Caching

MIT license

13KB
363 lines

shared_lru

An LRU cache that keeps the most recently used values across many different caches.

This allows an entire server, for example, to keep K MB of heterogenous memory for cache. Different caches connected to the same SharedLru will use the same "pool" of recency.


lib.rs:

An LRU cache that keeps the most recently used values across many different caches.

This allows an entire server, for example, to keep K MB of heterogenous memory for cache. Different caches connected to the same SharedLru will use the same "pool" of recency.

Dependencies

~1.3–2MB
~33K SLoC