Skip to content
R

redis-clustering

Redis Cluster and replication guidance covering hash tags

by redisFree

#9504in AI Skills
0In stores

Description

Redis Clustering is an agent skill from Redis's agent-skills repository that teaches a coding agent how to design keys and route reads for a…

Highlights

  • Key design guidance for sharded Redis Cluster deployments
  • Explains CROSSSLOT errors on MGET, SDIFF, transactions and pipelines
  • Hash tag patterns to keep related keys on one slot
  • Advice for multi-key transactions and Lua scripts
  • Reading from replicas to scale read-heavy workloads

Ratings & Reviews

No ratings yet

Be the first to rate redis-clustering.

People also visit

R

redis-patterns

Redis data structure patterns, caching strategies, distributed locks

AI Skills
Get
R

redis/redis-core

Redis development best practices

AI Skills
Get
R

redis-connections

Redis client and connection guidance covering connection pooling, multiplexing

AI Skills
Get
R

redis-development

Redis performance optimization and best practices

AI Skills
Get
R

redis-best-practices

Redis development best practices for caching, data structures

AI Skills
Get
R

redis-observability

Redis observability guidance

AI Skills
Get

redis-clustering FAQ

What does the redis-clustering skill do?

It gives an AI coding agent guidance on designing keys and routing reads in Redis Cluster and in primary/replica replication, with a focus on avoiding CROSSSLOT errors and spreading read load to replicas.

When should the agent apply this skill?

When designing keys for a Redis Cluster, debugging a CROSSSLOT error on MGET, SDIFF, transactions or pipelines, writing transactions or Lua scripts that touch several keys, or scaling reads without adding shards.

How do I install it?

Run: npx skills add https://github.com/redis/agent-skills --skill redis-clustering

What are hash tags and why does the skill cover them?

Redis Cluster hashes only the part of a key between { and } when a hash tag is present, so keys sharing a tag land on the same slot. The skill uses this to make multi-key commands work in a cluster.

What security audit results are shown for this skill?

On skills.sh the listed audits are: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.

What are the best redis-clustering alternatives?

Popular alternatives to redis-clustering include redis-patterns, redis/redis-core and redis-connections. See all redis-clustering alternatives

Developer Stuff

Badges