# redis/go-redis

Redis Go client

Repository: https://github.com/redis/go-redis
Canonical: https://ross.abutalabs.com/products/go-redis
Homepage: https://redis.io
Language: Go
License: BSD-2-Clause
License Family: permissive
Topics: go, golang, redis, redis-client, redis-cluster
Last push: 2026-08-26T19:39:28+00:00

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

## Adoption (not part of the score)
Stars 22220, forks 2582 (observed 2026-08-28T04:11:32.467244+00:00)

## What it is
go-redis is the official Redis client library for the Go programming language, providing a straightforward interface for interacting with Redis servers including standalone, cluster, and sentinel setups. It supports recent Redis releases and features like the new array data type commands.

## Use cases
- connect to redis from a go application
- use redis for caching in golang
- implement pub/sub messaging with redis in go
- work with redis cluster from go
- store and retrieve session data in redis
- use redis streams for event-driven messaging in go

## When to choose
- you are building a Go application that needs to talk to Redis
- you want the official, actively maintained Redis client for Go
- you need support for Redis cluster, sentinel, or the latest Redis 8.x features

## When to avoid
- your application is not written in Go
- you need a different database than Redis
- you only need a CLI tool to inspect Redis data rather than a client library

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, caching, database
- domain: databases, backend, developer-tools
- platform: go, windows, cross-platform
- tags: redis, redis-client, redis-cluster, in-memory-database, pub-sub, streams, linux, macos

## Member repositories
- redis/go-redis (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.467244+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-29T16:57:41.625737+00:00, confidence not recorded.
  - readme: https://github.com/redis/go-redis (fetched 2026-08-28T04:11:32.467244+00:00, sha f36657a7ca9c)
  - homepage: https://redis.io (fetched 2026-08-29T07:55:51.377854+00:00, sha 7905a59f8d73)
  - site_page: https://redis.io/docs/latest/integrate/riot (fetched 2026-08-29T07:55:51.383906+00:00, sha cef94f24dc53)
  - site_page: https://redis.io/docs/latest/develop/clients (fetched 2026-08-29T07:55:51.386535+00:00, sha a107489bc126)
  - site_page: https://redis.io/docs/latest/integrate (fetched 2026-08-29T07:55:51.388827+00:00, sha 9e9119d0ab77)
  - site_page: https://redis.io/docs/latest/develop/ai (fetched 2026-08-29T07:55:51.390955+00:00, sha 073b7bea706a)
  - site_page: https://redis.io/docs/latest/develop/get-started/rag (fetched 2026-08-29T07:55:51.393039+00:00, sha 900b9542c65b)
  - site_page: https://redis.io/docs/latest/develop/ai/featureform (fetched 2026-08-29T07:55:51.394641+00:00, sha db8621d502e3)
  - site_page: https://redis.io/docs/latest/operate/rc (fetched 2026-08-29T07:55:51.396267+00:00, sha c79815761f73)
  - site_page: https://redis.io/pricing (fetched 2026-08-29T07:55:51.380551+00:00, sha da067de15b21)
- Data as of 2026-08-30T08:39:29.467469+00:00.
