whitfin/cachex
Some data may be outdated — see provenance labels.
A powerful caching library for Elixir with support for transactions, fallbacks and expirations observed · 2026-10-03
Health v2 · maintenance only
55/100
- Activity 58
- Release rhythm 25
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 117
- age_days: 3900
- days_rel: 343
- days_push: 252
- n_releases_24m: 4
Adoption not part of the score
1743 stars · 123 forks observed · 2026-10-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Cachex is a fast in-memory key/value caching library for Elixir with optional features like TTL expiration, size limits, transactions, hooks, and node distribution. It integrates into OTP supervision trees and all features are opt-in.
Use cases
- cache expensive function results in memory
- add TTL-based expiration to cached values
- limit cache memory with max size protection
- share cache state across cluster nodes
- warm caches proactively or reactively
- run transactional cache operations with row locking
- gather statistics on cache hit rates
When to choose
- you need a battle-tested in-memory cache for an Elixir/Erlang application
- you want optional features like transactions, fallbacks, and expiration in one library
- you need distributed caching across BEAM nodes
When to avoid
- you need a persistent or disk-backed cache as the primary store
- you need a multi-language distributed cache like Redis
- your project is not on the BEAM platform
Facets
library · maturity stable
caching backend performance microservices elixir jvm in-memory-cache key-value-store ttl-expiration cache-warming transactions otp
2 sources
- readme: https://github.com/whitfin/cachex · fetched 2026-10-03 · c64dce9461ba
- homepage: https://hexdocs.pm/cachex/ · fetched 2026-08-29 · ce6396a6a130
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| whitfin/cachex | main | 55 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem