Ross ROSS = Recommend OSS · open-source software intelligence for agents

muesli/cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters observed · 2026-08-28

github.com/muesli/cache2go · Go · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4678
  • days_rel: n/a
  • days_push: 792
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2152 stars · 504 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

cache2go is a concurrency-safe, in-memory caching library for Go with per-item expiration (TTL) and access counters. It supports arbitrary key/value types, deletion callbacks, and multiple named cache tables.

Use cases

  • cache expensive function results in memory with a TTL
  • add a concurrency-safe key-value cache to a Go service
  • expire cached items after a period of inactivity
  • track how often cached entries are accessed
  • run callbacks when cached items are deleted

When to choose

  • you need a simple, dependency-free in-process cache in Go
  • you want per-item TTLs based on last access time
  • you need arbitrary Go types as keys and values

When to avoid

  • you need a distributed or shared cache across processes (use Redis or Memcached)
  • you need size-bounded eviction like LRU
  • you need persistence for cached data

Facets

library · maturity stable

caching concurrency developer-tools backend performance go cross-platform in-memory-cache expiration ttl access-counters callbacks

1 source

Member repositories

RepositoryRoleHealth v2
muesli/cache2gomain23

For agents

markdown · JSON · MCP: product_card(name="muesli/cache2go")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem