golang/groupcache
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 4790
- days_rel: n/a
- days_push: 642
- n_releases_24m: 0
Adoption not part of the score
13332 stars · 1392 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
groupcache is a Go distributed caching and cache-filling library intended as a replacement for a pool of memcached nodes. It embeds both client and server functionality, coordinating cache fills across peers so only one load populates the cache and deduplicates concurrent lookups.
Use cases
- replace memcached with an embedded distributed cache in Go services
- prevent thundering herd on cache misses when loading from a database
- cache immutable values across a replicated set of processes
- mirror super-hot keys to multiple processes to avoid hot spotting
- shard cache keys across peers via consistent hashing
When to choose
- your cached values are immutable (no expiration or eviction needed)
- you want a distributed cache without deploying separate cache servers
- you need coordinated, deduplicated cache fills across many processes
- you are building Go services with read-heavy, rarely-changing data
When to avoid
- you need TTLs, explicit evictions, CAS, or Increment/Decrement
- your cached values change over time and need versioning
- you are not using Go
- you need a standalone cache server shared by heterogeneous clients
Facets
library · maturity maintenance
caching rpc concurrency databases backend microservices performance go cross-platform distributed-cache cache-filling memcached-replacement consistent-hashing singleflight
1 source
- readme: https://github.com/golang/groupcache · fetched 2026-08-28 · b61495e11dc5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| golang/groupcache | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="golang/groupcache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem