LRU
LRU
is a Go library for caching arbitrary data with least-recently-used (LRU) eviction strategy and TTL support. There is also a LRUCounter
which allows you to easily to count high cardinality lists while keeping a bounded set in memory.
Go library for caching arbitrary data with least-recently-used (LRU) eviction strategy