# Redis Cluster

Redis Cluster is an open source, distributed in-memory data store for applications that need fast caching, session storage, or low-latency key-value access using strings, hashes, lists, sets, and sorted sets. It is open source and self-hosted, installable on Docker Hub, TrueNAS and Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4676/redis-cluster

## Description

Redis Cluster is an open source, distributed in-memory data store for applications that need fast caching, session storage, or low-latency key-value access using strings, hashes, lists, sets, and sorted sets.

## Platform availability

Available on 2 of 10 platforms: TrueNAS, Helm.

## Health score

71/100 (Good), based on 4 of 4 factors.
- Maintained: 100 (last commit 4 days ago)
- Popular: 98 (77,711 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 10 (8 GB minimum RAM)

## Links

- GitHub: https://github.com/redis/redis
- Docker Hub: https://hub.docker.com/r/bitnamicharts/redis-cluster
- TrueNAS: https://apps.truenas.com/catalog/redis
- Kubernetes (Helm): https://artifacthub.io/packages/helm/bitnami/redis-cluster
- Official website: http://redis.io
- Documentation: http://redis.io/docs/

## Common questions

### Why can multi-key Redis Cluster commands fail when keys are used together?

Keys in a multi-key cluster command need the same hash tag in braces, for example {myapp}:key1 and {myapp}:key2. That makes them map to the same cluster slot. Without it, Redis may put the keys on different nodes and the operation fails.

### How can I control which Redis Cluster node handles a Pub/Sub subscription?

Pub/Sub connections in a cluster can be tied to a particular node. If a channel must be handled by a specific node, choose that node when creating the connection. Otherwise the client may connect to a different node.

### Which ports need to be reachable if I run the optional Redis tracing example?

The Docker Compose tracing example uses port 4317 for gRPC and port 4318 for HTTP. Those ports carry tracing data, so make them reachable if you send traces from outside.

### What Redis Software troubleshooting issues are called out for TLS problems?

The troubleshooting docs call out TLS failures, TLS connection failures caused by certificate expiration, and endpoint flapping.

## Alternatives

- Apache Cassandra
- CockroachDB: CockroachDB is a distributed SQL database for developers and operators of transactional applications that need horizontal scaling and resil…
- CouchDB: CouchDB is a document-oriented NoSQL database with a RESTful HTTP/JSON interface for storing, querying, and synchronising JSON documents ac…
- FerretDB: FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
- KeyDB: KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept w…
- MongoDB: MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
- Valkey: Valkey is an open-source, high-performance in-memory key-value datastore forked from Redis.
- memcached: Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls,…
- ncache: NCache is a fast, scalable, open-source distributed cache for .NET applications that keeps frequently used data in a shared in-memory pool…
- rethinkdb: RethinkDB is an open-source, distributed NoSQL database built for realtime web applications.

---
Source: Our Local Host (https://ourlocalhost.com/app/4676/redis-cluster), the self-hosted and open-source app directory.
