Package Usage: go: github.com/outcaste-io/ristretto
Ristretto is a fast, fixed size, in-memory cache with a dual focus on
throughput and hit ratio performance. You can easily add Ristretto to an
existing system and keep the most valuable data where you need it.
This package includes multiple probabalistic data structures needed for
admission/eviction metadata. Most are Counting Bloom Filter variations, but
a caching-specific feature that is also required is a "freshness" mechanism,
which basically serves as a "lifetime" process. This freshness mechanism
was described in the original TinyLFU paper 1, but other mechanisms may
be better suited for certain data distributions.
8 versions
Latest release: almost 2 years ago
317 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/outcaste-io/ristretto