# redis/redis-rb

A Ruby client library for Redis

Repository: https://github.com/redis/redis-rb
Canonical: https://ross.abutalabs.com/products/redis-rb
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-26T12:40:24+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 63, longevity 100
- inputs: {"age_days": 6398, "days_push": 7, "days_rel": 33, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4001, forks 1031 (observed 2026-08-28T04:08:32.018263+00:00)

## What it is
redis-rb is the official Ruby client library for Redis, exposing Redis commands through an idiomatic Ruby API that mirrors the server's command names. It supports RESP3 protocol negotiation, authentication, ACLs, and connections via TCP or Unix sockets.

## Use cases
- connect to redis from ruby
- use redis for caching in a rails app
- store and retrieve key-value data in ruby
- use redis pub/sub from ruby
- connect to a password-protected redis instance in ruby

## When to choose
- you're building a Ruby application that needs Redis
- you want a client that maps one-to-one to Redis commands
- you need RESP3 support with automatic fallback to older servers

## When to avoid
- you're using a language other than Ruby
- you need an ORM-style abstraction over Redis data structures
- you're using Ruby older than 3.2

## Facets
- artifact type: library
- maturity: active
- function: database-driver, caching
- domain: databases, developer-tools, backend
- platform: ruby, cross-platform
- tags: redis, ruby-gem, resp3, key-value-store

## Member repositories
- redis/redis-rb (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.018263+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:24:08.333989+00:00, confidence not recorded.
  - readme: https://github.com/redis/redis-rb (fetched 2026-08-28T04:08:32.018263+00:00, sha 3e59a337c8bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
