本文へスキップ
Kitbay
スキル公式

redis-clustering

MIT2026年11月5日 更新178GitHubスター

Redis's skill on key design and read routing for a sharded Redis Cluster or a primary with replicas.

スキルの内容

Redis's skill on key design and read routing for a sharded Redis Cluster or a primary with replicas. It explains how hash tags put related keys in the same slot so multi-key commands, pipelines and transactions avoid CROSSSLOT errors, and how to send read traffic for caches, analytics or dashboards to replicas instead of the primaries, with client settings shown. Two reference files cover hash tags and read replicas in more depth. It is guidance for the agent to apply while writing or reviewing code.

できること

  • Design key names with hash tags for Redis Cluster
  • Fix CROSSSLOT errors on multi-key commands
  • Route reads to replicas for read-heavy workloads