proxy.golang.org : github.com/seek-ret/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.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/seek-ret/ristretto
License: Apache-2.0
Latest release: almost 4 years ago
First release: over 5 years ago
Namespace: github.com/seek-ret
Last synced: 3 days ago