RJ/ketama
Some data may be outdated — see provenance labels.
C library for consistent hashing, and langauge bindings observed · 2026-09-27
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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6315
- days_rel: n/a
- days_push: 2138
- n_releases_24m: 0
Adoption not part of the score
1011 stars · 167 forks observed · 2026-09-27
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-07, confidence 0.9
Ketama is a C library implementing consistent hashing for mapping keys to a set of servers (originally memcached), with shared-memory caching of the hash continuum and language bindings for PHP, Java, and Python. Adding or removing servers only remaps a small fraction of keys, preserving cache locality.
Use cases
- consistent hashing for memcached key distribution
- map keys to servers without cache invalidation on scale-up or scale-down
- weighted server selection for a caching pool
- implement consistent hashing in PHP, Java, or Python via bindings
When to choose
- you run a memcached (or similar cache) pool and need stable key-to-server mapping as servers change
- you need battle-tested, widely-compatible ketama-style consistent hashing with weighted servers
When to avoid
- you need a modern, actively maintained library with recent bug fixes
- you want consistent hashing features beyond ketama's ring algorithm (e.g., rendezvous hashing, virtual nodes tuning)
Facets
library · maturity maintenance
caching developer-tools databases developer-tools cross-platform python php jvm c consistent-hashing memcached hash-ring load-distribution language-bindings algorithms linux
1 source
- readme: https://github.com/RJ/ketama · fetched 2026-09-27 · bd2a5ebc6164
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| RJ/ketama | main | 32 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem