Pular para o conteúdo
Kitbay
SkillOficial

redis-clustering

MITAtualizado em 5 de nov. de 2026178Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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