# petergoldstein/dalli

High performance memcached client for Ruby

Repository: https://github.com/petergoldstein/dalli
Canonical: https://ross.abutalabs.com/products/dalli
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-16T17:28:59+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 5860, "days_push": 17, "days_rel": 17, "gap_med": 13, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3114, forks 468 (observed 2026-08-28T04:07:44.072781+00:00)

## What it is
Dalli is a high-performance pure Ruby client for accessing memcached servers. It supports failover, namespaces, thread-safe operation, SSL/TLS, and automatic OpenTelemetry tracing.

## Use cases
- connect to memcached from a Ruby application
- cache data in a Rails app with memcached
- add failover between multiple memcached instances
- use SSL/TLS connections to memcached
- instrument cache operations with OpenTelemetry tracing
- partition cache keys with namespaces per tenant

## When to choose
- you need a mature, actively maintained memcached client for Ruby
- you require thread-safe caching with connection pooling
- you need TLS or distributed tracing for your cache layer

## When to avoid
- you use Redis instead of memcached
- you are on Ruby older than 3.3 or memcached older than 1.6.27
- you need a language other than Ruby

## Facets
- artifact type: library
- maturity: active
- function: caching, http-client, serialization, tracing
- domain: databases, backend, web-development, performance
- platform: ruby, jvm
- tags: memcached, cache-client, ruby-gem, rails, opentelemetry, tls

## Member repositories
- petergoldstein/dalli (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.072781+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:45:59.613084+00:00, confidence not recorded.
  - readme: https://github.com/petergoldstein/dalli (fetched 2026-08-28T04:07:44.072781+00:00, sha 1b6fd12bbce2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
