{"adoption": {"forks": 444, "observed_at": "2026-08-28T04:09:51.889324+00:00", "stars": 6983}, "canonical_url": "https://ross.abutalabs.com/products/ristretto", "card": {"archived": false, "artifact_type": "library", "description": "A high performance memory-bound Go cache", "domain": ["developer-tools", "performance", "databases"], "enriched": true, "function": ["caching"], "health_score": 96, "homepage": "https://hypermode.com/blog/introducing-ristretto-high-perf-go-cache", "language": "Go", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["dgraph-io/ristretto"], "name": "dgraph-io/ristretto", "platform": ["go", "cross-platform"], "pushed_at": "2026-07-15T16:29:02+00:00", "repo": "dgraph-io/ristretto", "stars": 6983, "tags": ["in-memory-cache", "lfu-eviction", "tinylfu", "concurrent", "generics"], "topics": ["cache", "performance", "golang", "go", "library"], "urls": [], "use_cases": ["add a fast in-memory cache to a Go application", "cache database query results in memory", "reduce contention in a highly concurrent Go service", "cache with cost-based eviction for variable-size items", "improve cache hit ratios over a plain map or LRU", "monitor cache hit ratio and throughput metrics"], "what_it_is": "Ristretto is a high-performance, fully concurrent in-memory cache library for Go, built originally for Dgraph. It uses a TinyLFU admission policy paired with SampledLFU eviction to deliver high hit ratios and throughput, with cost-based eviction and optional metrics.", "when_to_avoid": ["you need a distributed or shared cache across processes (use Redis or similar)", "your project is not written in Go", "you need persistent or disk-backed caching"], "when_to_choose": ["you need a production-ready, concurrent memory-bound cache in Go", "hit ratio and throughput under heavy concurrency matter", "you want cost-based eviction for items of varying sizes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ristretto", "repo": "dgraph-io/ristretto", "role": "main", "score": 89}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:51.889324+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:41:08.592481+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "96c52b4ae686dcb05b936682b0d31c4a06314cd962684520acbbc1ce73a6332d", "fetched_at": "2026-08-28T04:09:51.889324+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgraph-io/ristretto"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 92, "longevity": 100, "rhythm": 80}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2759, "days_push": 49, "days_rel": 57, "gap_med": 60.0, "n_releases_24m": 9}, "score": 89, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}