{"adoption": {"forks": 541, "observed_at": "2026-08-28T04:09:10.787405+00:00", "stars": 5114}, "canonical_url": "https://ross.abutalabs.com/products/golang-lru", "card": {"archived": false, "artifact_type": "library", "description": "Golang LRU cache", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["caching"], "health_score": 80, "homepage": null, "language": "Go", "license": "MPL-2.0", "license_family": "copyleft", "maturity": "stable", "member_repos": ["hashicorp/golang-lru"], "name": "hashicorp/golang-lru", "platform": ["go", "cross-platform"], "pushed_at": "2026-07-27T06:16:22+00:00", "repo": "hashicorp/golang-lru", "stars": 5114, "tags": ["lru-cache", "in-memory-cache", "thread-safe", "ttl", "eviction"], "topics": [], "urls": [], "use_cases": ["add an in-memory LRU cache to a Go application", "limit memory usage by evicting least recently used entries", "cache values with a time-to-live expiration", "build a thread-safe bounded cache for concurrent access", "memoize expensive function results with a fixed-size cache"], "what_it_is": "A Go library implementing fixed-size, thread-safe LRU caches, including variants with TTL-based expiration and ARC support. It is based on the cache implementation from Groupcache and is maintained by HashiCorp.", "when_to_avoid": ["you need a distributed or shared cache across processes (use Redis or similar)", "you need persistence or advanced features like cache statistics dashboards", "your application is not written in Go"], "when_to_choose": ["you need a small, dependency-light, thread-safe LRU cache in Go", "you want optional TTL expiration or ARC eviction policies", "you need generics support for typed cache keys and values"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/golang-lru", "repo": "hashicorp/golang-lru", "role": "main", "score": 65}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "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:10.787405+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:10.787405+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:02:08.108072+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2868872fe74752a3ead3d5aca59b392aa58e0dba94fce886543be66311e0368d", "fetched_at": "2026-08-28T04:09:10.787405+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hashicorp/golang-lru"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 8}, "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": 4410, "days_push": 37, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 65, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}