5 releases (3 breaking)
new 0.4.0 | Nov 1, 2024 |
---|---|
0.3.0 | Jul 12, 2024 |
0.2.0 | May 10, 2024 |
0.1.1 | Apr 18, 2024 |
0.1.0 | Feb 28, 2024 |
#134 in Caching
29,816 downloads per month
Used in 18 crates
(via pingora-cache)
38KB
840 lines
An implementation of an LRU that focuses on memory efficiency, concurrency and persistence
Features
- keys can have different sizes
- LRUs are sharded to avoid global locks.
- Memory layout and usage are optimized: small and no memory fragmentation
Dependencies
~1.4–6MB
~29K SLoC