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

VictoriaMetrics/fastcache

Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead observed · 2026-08-28

github.com/VictoriaMetrics/fastcache · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

74/100

  • Activity 87
  • Release rhythm 41
  • Longevity 100
How is this computed?

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

  • gap_med: 12
  • age_days: 2841
  • days_rel: 392
  • days_push: 79
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

2370 stars · 194 forks observed · 2026-08-28

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

fastcache is a fast, thread-safe in-memory cache library for Go designed to hold a large number of entries with minimal garbage collection overhead. It automatically evicts old entries when reaching a configured maximum size and supports saving/loading the cache to and from files.

Use cases

  • cache millions of key-value entries in a Go service without GC pauses
  • replace Go maps or sync.Map for high-throughput concurrent caching
  • add an in-process cache with automatic eviction at a fixed memory budget
  • persist cache contents to disk and reload on process restart
  • speed up hot-path lookups in multi-core Go applications

When to choose

  • you need a fast in-memory cache in Go with minimal GC overhead
  • you store a very large number of entries and standard maps cause GC pressure
  • you want a simple API with automatic size-based eviction
  • you need to snapshot the cache to a file and restore it later

When to avoid

  • you need a distributed or networked cache like Redis or Memcached
  • you need TTL-based per-entry expiration
  • you need rich eviction policies like LRU or LFU
  • your dataset is small enough that a plain Go map suffices

Facets

library · maturity stable

caching developer-tools performance backend go windows cross-platform inmemory-cache thread-safe low-gc-overhead key-value-cache go-library linux macos

1 source

Member repositories

RepositoryRoleHealth v2
VictoriaMetrics/fastcachemain74

For agents

markdown · JSON · MCP: product_card(name="VictoriaMetrics/fastcache")

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