coocood/freecache
A cache library for Go with zero GC overhead. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 73
- Release rhythm 75
- Longevity 100
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: 18.0
- age_days: 4144
- days_rel: 167
- days_push: 167
- n_releases_24m: 3
Adoption not part of the score
5403 stars · 411 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
FreeCache is an in-memory key-value cache library for Go that stores data in preallocated ring buffers to achieve zero garbage collection overhead. It supports hundreds of millions of entries with expiration, near-LRU eviction, and high-concurrency thread-safe access.
Use cases
- cache millions of objects in Go without GC pauses
- replace built-in Go map caching to reduce GC pressure
- in-process cache with TTL expiration
- high-concurrency thread-safe local cache
- limit memory usage of a Go application cache
- run a lightweight Redis-like cache server
When to choose
- your Go service caches many long-lived objects and suffers GC latency
- you need strict memory bounds and expiration in a local cache
- you want a pure Go, dependency-free caching library
When to avoid
- you need a distributed or shared cache across processes (use Redis)
- you need rich data structures beyond byte key-value pairs
- you cache only a small number of entries where a plain map suffices
Facets
library · maturity stable
caching databases performance developer-tools go cross-platform in-memory-cache zero-gc-overhead lru thread-safe key-value-store
1 source
- readme: https://github.com/coocood/freecache · fetched 2026-08-28 · c7b674b362de
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| coocood/freecache | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="coocood/freecache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem