[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-redis-redis-clustering":3,"mdc--lltfz7-key":38,"related-org-redis-redis-clustering":577,"related-repo-redis-redis-clustering":762},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":33,"sourceUrl":36,"mdContent":37},"redis-clustering","configure Redis clustering and replication","Redis Cluster and replication guidance covering hash tags for multi-key operations, avoiding CROSSSLOT errors, and reading from replicas to scale read-heavy workloads. Use when designing keys for a sharded Redis Cluster, debugging CROSSSLOT errors on MGET \u002F SDIFF \u002F pipelines, configuring a multi-key transaction in a cluster, or routing reads to replicas for caches, analytics, or dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"redis","Redis","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fredis.png",[12,16,19,22,23],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"Architecture","architecture",{"name":20,"slug":21,"type":15},"Database","database",{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},"Infrastructure","infrastructure",92,"https:\u002F\u002Fgithub.com\u002Fredis\u002Fagent-skills","2026-05-27T07:19:38.757599","MIT",21,[32,8],"agent-skills",{"repoUrl":27,"stars":26,"forks":30,"topics":34,"description":35},[32,8],"Redis' official collection of agent skills","https:\u002F\u002Fgithub.com\u002Fredis\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fredis-clustering","---\nname: redis-clustering\ndescription: Redis Cluster and replication guidance covering hash tags for multi-key operations, avoiding CROSSSLOT errors, and reading from replicas to scale read-heavy workloads. Use when designing keys for a sharded Redis Cluster, debugging CROSSSLOT errors on MGET \u002F SDIFF \u002F pipelines, configuring a multi-key transaction in a cluster, or routing reads to replicas for caches, analytics, or dashboards.\nlicense: MIT\nmetadata:\n  author: Redis, Inc.\n  version: \"0.1.0\"\n---\n\n# Redis Clustering\n\nGuidance for designing keys and routing reads in a sharded Redis Cluster (and in standalone primary\u002Freplica replication). Covers the two failure modes that bite most new cluster users: `CROSSSLOT` errors on multi-key operations, and overloading primaries with read traffic.\n\n## When to apply\n\n- Designing keys for a Redis Cluster deployment.\n- Debugging a `CROSSSLOT` error on `MGET`, `SDIFF`, transactions, or pipelines.\n- Implementing transactions \u002F Lua scripts that touch multiple keys.\n- Scaling out read traffic without adding shards.\n\n## 1. Hash tags for multi-key operations\n\nRedis Cluster distributes keys across 16,384 slots by hashing the key name. Any command that touches **multiple keys** (`MGET`, `SDIFF`, `SUNIONSTORE`, transactions, pipelines, Lua scripts with multiple `KEYS[]`) requires all keys to live on the **same slot** — otherwise the server returns a `CROSSSLOT` error.\n\nHash tags force this: the part between `{` and `}` is the only thing hashed for slot assignment, so two keys sharing a hash tag always land together.\n\n```python\n# Same slot — multi-key ops work\nredis.set(\"{user:1001}:profile\",  \"...\")\nredis.set(\"{user:1001}:settings\", \"...\")\nredis.lmove(\"{user:1001}:pending\", \"{user:1001}:processed\", \"LEFT\", \"RIGHT\")\n```\n\n```python\n# Different keys, no hash tag — CROSSSLOT on multi-key commands in cluster mode\nredis.set(\"user:1001:profile\",  \"...\")\nredis.set(\"user:1001:settings\", \"...\")\npipe = redis.pipeline()\npipe.get(\"user:1001:profile\")\npipe.get(\"user:1001:settings\")\npipe.execute()  # CROSSSLOT error in cluster\n```\n\nRules of thumb:\n\n- **Use a tag scoped to the meaningful entity**, e.g. `{user:1001}`. Avoid bare `{1001}` — unrelated namespaces (`purchase:{1001}`, `employee:{1001}`) would all collide on the same slot.\n- **Only tag where you actually need multi-key ops.** Tagging everything creates hotspots and defeats the point of sharding.\n- A single-key command on a hash-tagged key works fine, so adding tags later is incremental — but renaming keys in production is painful, so plan tagging up front for entities you'll group.\n\nSee [references\u002Fhash-tags.md](references\u002Fhash-tags.md).\n\n## 2. Read replicas for read-heavy workloads\n\nIf reads dominate writes, route them to replicas to free primary capacity. Works both in Redis Cluster (each shard has 1+ replica) and in standalone primary\u002Freplica replication.\n\n```python\n# Redis Cluster: enable replica reads on the client\nfrom redis.cluster import RedisCluster\n\nrc = RedisCluster(host=\"localhost\", port=6379, read_from_replicas=True)\nrc.set(\"key\", \"value\")     # → primary\nvalue = rc.get(\"key\")       # → may be served by a replica\n```\n\nFor non-cluster setups, point two clients at the right nodes:\n\n```python\nprimary = Redis(host=\"primary-host\", port=6379)\nreplica = Redis(host=\"replica-host\", port=6379)\nprimary.set(\"key\", \"value\")\nvalue = replica.get(\"key\")\n```\n\nThe trade-off is consistency: **replicas are eventually consistent**. Don't read your own writes from a replica; don't use replica reads for anything that requires strict freshness (financial balances, idempotency state). Good fits: cache layers, analytics, dashboards, recommendation feeds.\n\nSee [references\u002Fread-replicas.md](references\u002Fread-replicas.md).\n\n## References\n\n- [Redis Cluster spec — hash tags](https:\u002F\u002Fredis.io\u002Fdocs\u002Flatest\u002Foperate\u002Foss_and_stack\u002Freference\u002Fcluster-spec\u002F#hash-tags)\n- [Redis: multi-key operations in cluster](https:\u002F\u002Fredis.io\u002Fdocs\u002Flatest\u002Foperate\u002Frs\u002Fdatabases\u002Fdurability-ha\u002Fclustering\u002F#multikey-operations)\n- [Redis: Replication](https:\u002F\u002Fredis.io\u002Fdocs\u002Flatest\u002Foperate\u002Foss_and_stack\u002Fmanagement\u002Freplication\u002F)\n",{"data":39,"body":43},{"name":4,"description":6,"license":29,"metadata":40},{"author":41,"version":42},"Redis, Inc.","0.1.0",{"type":44,"children":45},"root",[46,54,69,76,124,130,185,206,255,321,326,385,398,404,409,465,470,509,521,531,537,571],{"type":47,"tag":48,"props":49,"children":50},"element","h1",{"id":4},[51],{"type":52,"value":53},"text","Redis Clustering",{"type":47,"tag":55,"props":56,"children":57},"p",{},[58,60,67],{"type":52,"value":59},"Guidance for designing keys and routing reads in a sharded Redis Cluster (and in standalone primary\u002Freplica replication). Covers the two failure modes that bite most new cluster users: ",{"type":47,"tag":61,"props":62,"children":64},"code",{"className":63},[],[65],{"type":52,"value":66},"CROSSSLOT",{"type":52,"value":68}," errors on multi-key operations, and overloading primaries with read traffic.",{"type":47,"tag":70,"props":71,"children":73},"h2",{"id":72},"when-to-apply",[74],{"type":52,"value":75},"When to apply",{"type":47,"tag":77,"props":78,"children":79},"ul",{},[80,86,114,119],{"type":47,"tag":81,"props":82,"children":83},"li",{},[84],{"type":52,"value":85},"Designing keys for a Redis Cluster deployment.",{"type":47,"tag":81,"props":87,"children":88},{},[89,91,96,98,104,106,112],{"type":52,"value":90},"Debugging a ",{"type":47,"tag":61,"props":92,"children":94},{"className":93},[],[95],{"type":52,"value":66},{"type":52,"value":97}," error on ",{"type":47,"tag":61,"props":99,"children":101},{"className":100},[],[102],{"type":52,"value":103},"MGET",{"type":52,"value":105},", ",{"type":47,"tag":61,"props":107,"children":109},{"className":108},[],[110],{"type":52,"value":111},"SDIFF",{"type":52,"value":113},", transactions, or pipelines.",{"type":47,"tag":81,"props":115,"children":116},{},[117],{"type":52,"value":118},"Implementing transactions \u002F Lua scripts that touch multiple keys.",{"type":47,"tag":81,"props":120,"children":121},{},[122],{"type":52,"value":123},"Scaling out read traffic without adding shards.",{"type":47,"tag":70,"props":125,"children":127},{"id":126},"_1-hash-tags-for-multi-key-operations",[128],{"type":52,"value":129},"1. Hash tags for multi-key operations",{"type":47,"tag":55,"props":131,"children":132},{},[133,135,141,143,148,149,154,155,161,163,169,171,176,178,183],{"type":52,"value":134},"Redis Cluster distributes keys across 16,384 slots by hashing the key name. Any command that touches ",{"type":47,"tag":136,"props":137,"children":138},"strong",{},[139],{"type":52,"value":140},"multiple keys",{"type":52,"value":142}," (",{"type":47,"tag":61,"props":144,"children":146},{"className":145},[],[147],{"type":52,"value":103},{"type":52,"value":105},{"type":47,"tag":61,"props":150,"children":152},{"className":151},[],[153],{"type":52,"value":111},{"type":52,"value":105},{"type":47,"tag":61,"props":156,"children":158},{"className":157},[],[159],{"type":52,"value":160},"SUNIONSTORE",{"type":52,"value":162},", transactions, pipelines, Lua scripts with multiple ",{"type":47,"tag":61,"props":164,"children":166},{"className":165},[],[167],{"type":52,"value":168},"KEYS[]",{"type":52,"value":170},") requires all keys to live on the ",{"type":47,"tag":136,"props":172,"children":173},{},[174],{"type":52,"value":175},"same slot",{"type":52,"value":177}," — otherwise the server returns a ",{"type":47,"tag":61,"props":179,"children":181},{"className":180},[],[182],{"type":52,"value":66},{"type":52,"value":184}," error.",{"type":47,"tag":55,"props":186,"children":187},{},[188,190,196,198,204],{"type":52,"value":189},"Hash tags force this: the part between ",{"type":47,"tag":61,"props":191,"children":193},{"className":192},[],[194],{"type":52,"value":195},"{",{"type":52,"value":197}," and ",{"type":47,"tag":61,"props":199,"children":201},{"className":200},[],[202],{"type":52,"value":203},"}",{"type":52,"value":205}," is the only thing hashed for slot assignment, so two keys sharing a hash tag always land together.",{"type":47,"tag":207,"props":208,"children":213},"pre",{"className":209,"code":210,"language":211,"meta":212,"style":212},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Same slot — multi-key ops work\nredis.set(\"{user:1001}:profile\",  \"...\")\nredis.set(\"{user:1001}:settings\", \"...\")\nredis.lmove(\"{user:1001}:pending\", \"{user:1001}:processed\", \"LEFT\", \"RIGHT\")\n","python","",[214],{"type":47,"tag":61,"props":215,"children":216},{"__ignoreMap":212},[217,228,237,246],{"type":47,"tag":218,"props":219,"children":222},"span",{"class":220,"line":221},"line",1,[223],{"type":47,"tag":218,"props":224,"children":225},{},[226],{"type":52,"value":227},"# Same slot — multi-key ops work\n",{"type":47,"tag":218,"props":229,"children":231},{"class":220,"line":230},2,[232],{"type":47,"tag":218,"props":233,"children":234},{},[235],{"type":52,"value":236},"redis.set(\"{user:1001}:profile\",  \"...\")\n",{"type":47,"tag":218,"props":238,"children":240},{"class":220,"line":239},3,[241],{"type":47,"tag":218,"props":242,"children":243},{},[244],{"type":52,"value":245},"redis.set(\"{user:1001}:settings\", \"...\")\n",{"type":47,"tag":218,"props":247,"children":249},{"class":220,"line":248},4,[250],{"type":47,"tag":218,"props":251,"children":252},{},[253],{"type":52,"value":254},"redis.lmove(\"{user:1001}:pending\", \"{user:1001}:processed\", \"LEFT\", \"RIGHT\")\n",{"type":47,"tag":207,"props":256,"children":258},{"className":209,"code":257,"language":211,"meta":212,"style":212},"# Different keys, no hash tag — CROSSSLOT on multi-key commands in cluster mode\nredis.set(\"user:1001:profile\",  \"...\")\nredis.set(\"user:1001:settings\", \"...\")\npipe = redis.pipeline()\npipe.get(\"user:1001:profile\")\npipe.get(\"user:1001:settings\")\npipe.execute()  # CROSSSLOT error in cluster\n",[259],{"type":47,"tag":61,"props":260,"children":261},{"__ignoreMap":212},[262,270,278,286,294,303,312],{"type":47,"tag":218,"props":263,"children":264},{"class":220,"line":221},[265],{"type":47,"tag":218,"props":266,"children":267},{},[268],{"type":52,"value":269},"# Different keys, no hash tag — CROSSSLOT on multi-key commands in cluster mode\n",{"type":47,"tag":218,"props":271,"children":272},{"class":220,"line":230},[273],{"type":47,"tag":218,"props":274,"children":275},{},[276],{"type":52,"value":277},"redis.set(\"user:1001:profile\",  \"...\")\n",{"type":47,"tag":218,"props":279,"children":280},{"class":220,"line":239},[281],{"type":47,"tag":218,"props":282,"children":283},{},[284],{"type":52,"value":285},"redis.set(\"user:1001:settings\", \"...\")\n",{"type":47,"tag":218,"props":287,"children":288},{"class":220,"line":248},[289],{"type":47,"tag":218,"props":290,"children":291},{},[292],{"type":52,"value":293},"pipe = redis.pipeline()\n",{"type":47,"tag":218,"props":295,"children":297},{"class":220,"line":296},5,[298],{"type":47,"tag":218,"props":299,"children":300},{},[301],{"type":52,"value":302},"pipe.get(\"user:1001:profile\")\n",{"type":47,"tag":218,"props":304,"children":306},{"class":220,"line":305},6,[307],{"type":47,"tag":218,"props":308,"children":309},{},[310],{"type":52,"value":311},"pipe.get(\"user:1001:settings\")\n",{"type":47,"tag":218,"props":313,"children":315},{"class":220,"line":314},7,[316],{"type":47,"tag":218,"props":317,"children":318},{},[319],{"type":52,"value":320},"pipe.execute()  # CROSSSLOT error in cluster\n",{"type":47,"tag":55,"props":322,"children":323},{},[324],{"type":52,"value":325},"Rules of thumb:",{"type":47,"tag":77,"props":327,"children":328},{},[329,370,380],{"type":47,"tag":81,"props":330,"children":331},{},[332,337,339,345,347,353,355,361,362,368],{"type":47,"tag":136,"props":333,"children":334},{},[335],{"type":52,"value":336},"Use a tag scoped to the meaningful entity",{"type":52,"value":338},", e.g. ",{"type":47,"tag":61,"props":340,"children":342},{"className":341},[],[343],{"type":52,"value":344},"{user:1001}",{"type":52,"value":346},". Avoid bare ",{"type":47,"tag":61,"props":348,"children":350},{"className":349},[],[351],{"type":52,"value":352},"{1001}",{"type":52,"value":354}," — unrelated namespaces (",{"type":47,"tag":61,"props":356,"children":358},{"className":357},[],[359],{"type":52,"value":360},"purchase:{1001}",{"type":52,"value":105},{"type":47,"tag":61,"props":363,"children":365},{"className":364},[],[366],{"type":52,"value":367},"employee:{1001}",{"type":52,"value":369},") would all collide on the same slot.",{"type":47,"tag":81,"props":371,"children":372},{},[373,378],{"type":47,"tag":136,"props":374,"children":375},{},[376],{"type":52,"value":377},"Only tag where you actually need multi-key ops.",{"type":52,"value":379}," Tagging everything creates hotspots and defeats the point of sharding.",{"type":47,"tag":81,"props":381,"children":382},{},[383],{"type":52,"value":384},"A single-key command on a hash-tagged key works fine, so adding tags later is incremental — but renaming keys in production is painful, so plan tagging up front for entities you'll group.",{"type":47,"tag":55,"props":386,"children":387},{},[388,390,396],{"type":52,"value":389},"See ",{"type":47,"tag":391,"props":392,"children":394},"a",{"href":393},"references\u002Fhash-tags.md",[395],{"type":52,"value":393},{"type":52,"value":397},".",{"type":47,"tag":70,"props":399,"children":401},{"id":400},"_2-read-replicas-for-read-heavy-workloads",[402],{"type":52,"value":403},"2. Read replicas for read-heavy workloads",{"type":47,"tag":55,"props":405,"children":406},{},[407],{"type":52,"value":408},"If reads dominate writes, route them to replicas to free primary capacity. Works both in Redis Cluster (each shard has 1+ replica) and in standalone primary\u002Freplica replication.",{"type":47,"tag":207,"props":410,"children":412},{"className":209,"code":411,"language":211,"meta":212,"style":212},"# Redis Cluster: enable replica reads on the client\nfrom redis.cluster import RedisCluster\n\nrc = RedisCluster(host=\"localhost\", port=6379, read_from_replicas=True)\nrc.set(\"key\", \"value\")     # → primary\nvalue = rc.get(\"key\")       # → may be served by a replica\n",[413],{"type":47,"tag":61,"props":414,"children":415},{"__ignoreMap":212},[416,424,432,441,449,457],{"type":47,"tag":218,"props":417,"children":418},{"class":220,"line":221},[419],{"type":47,"tag":218,"props":420,"children":421},{},[422],{"type":52,"value":423},"# Redis Cluster: enable replica reads on the client\n",{"type":47,"tag":218,"props":425,"children":426},{"class":220,"line":230},[427],{"type":47,"tag":218,"props":428,"children":429},{},[430],{"type":52,"value":431},"from redis.cluster import RedisCluster\n",{"type":47,"tag":218,"props":433,"children":434},{"class":220,"line":239},[435],{"type":47,"tag":218,"props":436,"children":438},{"emptyLinePlaceholder":437},true,[439],{"type":52,"value":440},"\n",{"type":47,"tag":218,"props":442,"children":443},{"class":220,"line":248},[444],{"type":47,"tag":218,"props":445,"children":446},{},[447],{"type":52,"value":448},"rc = RedisCluster(host=\"localhost\", port=6379, read_from_replicas=True)\n",{"type":47,"tag":218,"props":450,"children":451},{"class":220,"line":296},[452],{"type":47,"tag":218,"props":453,"children":454},{},[455],{"type":52,"value":456},"rc.set(\"key\", \"value\")     # → primary\n",{"type":47,"tag":218,"props":458,"children":459},{"class":220,"line":305},[460],{"type":47,"tag":218,"props":461,"children":462},{},[463],{"type":52,"value":464},"value = rc.get(\"key\")       # → may be served by a replica\n",{"type":47,"tag":55,"props":466,"children":467},{},[468],{"type":52,"value":469},"For non-cluster setups, point two clients at the right nodes:",{"type":47,"tag":207,"props":471,"children":473},{"className":209,"code":472,"language":211,"meta":212,"style":212},"primary = Redis(host=\"primary-host\", port=6379)\nreplica = Redis(host=\"replica-host\", port=6379)\nprimary.set(\"key\", \"value\")\nvalue = replica.get(\"key\")\n",[474],{"type":47,"tag":61,"props":475,"children":476},{"__ignoreMap":212},[477,485,493,501],{"type":47,"tag":218,"props":478,"children":479},{"class":220,"line":221},[480],{"type":47,"tag":218,"props":481,"children":482},{},[483],{"type":52,"value":484},"primary = Redis(host=\"primary-host\", port=6379)\n",{"type":47,"tag":218,"props":486,"children":487},{"class":220,"line":230},[488],{"type":47,"tag":218,"props":489,"children":490},{},[491],{"type":52,"value":492},"replica = Redis(host=\"replica-host\", port=6379)\n",{"type":47,"tag":218,"props":494,"children":495},{"class":220,"line":239},[496],{"type":47,"tag":218,"props":497,"children":498},{},[499],{"type":52,"value":500},"primary.set(\"key\", \"value\")\n",{"type":47,"tag":218,"props":502,"children":503},{"class":220,"line":248},[504],{"type":47,"tag":218,"props":505,"children":506},{},[507],{"type":52,"value":508},"value = replica.get(\"key\")\n",{"type":47,"tag":55,"props":510,"children":511},{},[512,514,519],{"type":52,"value":513},"The trade-off is consistency: ",{"type":47,"tag":136,"props":515,"children":516},{},[517],{"type":52,"value":518},"replicas are eventually consistent",{"type":52,"value":520},". Don't read your own writes from a replica; don't use replica reads for anything that requires strict freshness (financial balances, idempotency state). Good fits: cache layers, analytics, dashboards, recommendation feeds.",{"type":47,"tag":55,"props":522,"children":523},{},[524,525,530],{"type":52,"value":389},{"type":47,"tag":391,"props":526,"children":528},{"href":527},"references\u002Fread-replicas.md",[529],{"type":52,"value":527},{"type":52,"value":397},{"type":47,"tag":70,"props":532,"children":534},{"id":533},"references",[535],{"type":52,"value":536},"References",{"type":47,"tag":77,"props":538,"children":539},{},[540,551,561],{"type":47,"tag":81,"props":541,"children":542},{},[543],{"type":47,"tag":391,"props":544,"children":548},{"href":545,"rel":546},"https:\u002F\u002Fredis.io\u002Fdocs\u002Flatest\u002Foperate\u002Foss_and_stack\u002Freference\u002Fcluster-spec\u002F#hash-tags",[547],"nofollow",[549],{"type":52,"value":550},"Redis Cluster spec — hash tags",{"type":47,"tag":81,"props":552,"children":553},{},[554],{"type":47,"tag":391,"props":555,"children":558},{"href":556,"rel":557},"https:\u002F\u002Fredis.io\u002Fdocs\u002Flatest\u002Foperate\u002Frs\u002Fdatabases\u002Fdurability-ha\u002Fclustering\u002F#multikey-operations",[547],[559],{"type":52,"value":560},"Redis: multi-key operations in cluster",{"type":47,"tag":81,"props":562,"children":563},{},[564],{"type":47,"tag":391,"props":565,"children":568},{"href":566,"rel":567},"https:\u002F\u002Fredis.io\u002Fdocs\u002Flatest\u002Foperate\u002Foss_and_stack\u002Fmanagement\u002Freplication\u002F",[547],[569],{"type":52,"value":570},"Redis: Replication",{"type":47,"tag":572,"props":573,"children":574},"style",{},[575],{"type":52,"value":576},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":578,"total":761},[579,599,607,620,633,651,667,687,701,716,731,748],{"slug":580,"name":580,"fn":581,"description":582,"org":583,"tags":584,"stars":26,"repoUrl":27,"updatedAt":598},"iris-development","integrate with Redis Iris AI products","Iris is Redis's umbrella for AI-focused products. Use this skill when integrating with the Iris Redis Agent Memory (RAM) data plane on Redis Cloud — recording session events for an AI agent, creating or searching long-term memories, configuring a memory store, or tuning background memory promotion. Code examples use the official `redis-agent-memory` (Python) and `@redis-iris\u002Fagent-memory` (TypeScript) SDKs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[585,588,591,594,597],{"name":586,"slug":587,"type":15},"Agents","agents",{"name":589,"slug":590,"type":15},"AI Infrastructure","ai-infrastructure",{"name":592,"slug":593,"type":15},"Backend","backend",{"name":595,"slug":596,"type":15},"Memory","memory",{"name":9,"slug":8,"type":15},"2026-05-27T07:19:45.213725",{"slug":4,"name":4,"fn":5,"description":6,"org":600,"tags":601,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[602,603,604,605,606],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":24,"slug":25,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":608,"name":608,"fn":609,"description":610,"org":611,"tags":612,"stars":26,"repoUrl":27,"updatedAt":619},"redis-connections","optimize Redis client connections","Redis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBERS, HGETALL), and tuning socket timeouts. Use when configuring a Redis client (redis-py, Jedis, Lettuce, NRedisStack), batching commands for throughput, eliminating per-request connection creation, iterating large keyspaces with SCAN, enabling client-side caching for read-heavy workloads, or setting connect and read timeouts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[613,614,617,618],{"name":592,"slug":593,"type":15},{"name":615,"slug":616,"type":15},"Caching","caching",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:42.616757",{"slug":621,"name":621,"fn":622,"description":623,"org":624,"tags":625,"stars":26,"repoUrl":27,"updatedAt":632},"redis-core","model data with Redis structures","Core Redis modeling guidance — choose the right data structure (String, Hash, List, Set, Sorted Set, JSON, Stream, Vector Set) and use consistent colon-separated key names. Use when designing a Redis data model, caching objects, deciding between Hash and JSON, building counters, leaderboards, membership sets, or session stores, or when reviewing\u002Fcleaning up Redis key naming.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[626,627,630,631],{"name":17,"slug":18,"type":15},{"name":628,"slug":629,"type":15},"Data Modeling","data-modeling",{"name":20,"slug":21,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:41.317954",{"slug":634,"name":634,"fn":635,"description":636,"org":637,"tags":638,"stars":26,"repoUrl":27,"updatedAt":650},"redis-observability","monitor and triage Redis performance","Redis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops\u002Fsec, rejected connections), which built-in commands to reach for during incident triage (SLOWLOG, INFO, MEMORY DOCTOR, CLIENT LIST, FT.PROFILE), and when to use the Redis Insight GUI. Use when setting up monitoring or alerts for a Redis instance, diagnosing a performance regression, profiling a slow FT.SEARCH query, or wiring Redis metrics into Prometheus, Datadog, or similar.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[639,642,645,648,649],{"name":640,"slug":641,"type":15},"Debugging","debugging",{"name":643,"slug":644,"type":15},"Monitoring","monitoring",{"name":646,"slug":647,"type":15},"Observability","observability",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:47.780873",{"slug":652,"name":652,"fn":653,"description":654,"org":655,"tags":656,"stars":26,"repoUrl":27,"updatedAt":666},"redis-search","implement Redis Search indexing and queries","Redis Search guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR, JSON path), DIALECT 2 query syntax, FT.SEARCH \u002F FT.AGGREGATE \u002F FT.HYBRID command selection, vector similarity with HNSW or FLAT, hybrid retrieval combining lexical and vector ranking, RAG pipelines, zero-downtime index updates via aliases, and debugging with FT.PROFILE and FT.EXPLAIN. Use when defining a search index on Hash or JSON documents, writing FT.SEARCH queries with filters, sorting, aggregation, or vector KNN, tuning HNSW parameters, building a RAG retrieval pipeline, or troubleshooting slow or empty search results.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[657,658,659,662,663],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":660,"slug":661,"type":15},"Engineering","engineering",{"name":9,"slug":8,"type":15},{"name":664,"slug":665,"type":15},"Search","search","2026-06-24T07:39:43.089819",{"slug":668,"name":668,"fn":669,"description":670,"org":671,"tags":672,"stars":26,"repoUrl":27,"updatedAt":686},"redis-security","secure Redis instances and clusters","Redis security guidance covering authentication (requirepass and ACL users), TLS, ACL-based least-privilege access control, restricting network exposure via bind and protected-mode, firewall rules, and disabling dangerous commands. Use when deploying Redis to production, defining ACL users for an application, configuring TLS connections, locking down a Redis instance behind a firewall, or auditing a Redis deployment for security hardening.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[673,676,679,682,683],{"name":674,"slug":675,"type":15},"Access Control","access-control",{"name":677,"slug":678,"type":15},"Authentication","authentication",{"name":680,"slug":681,"type":15},"Compliance","compliance",{"name":9,"slug":8,"type":15},{"name":684,"slug":685,"type":15},"Security","security","2026-05-27T07:19:40.030241",{"slug":688,"name":688,"fn":689,"description":690,"org":691,"tags":692,"stars":26,"repoUrl":27,"updatedAt":700},"redis-semantic-cache","implement semantic caching with Redis","Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search\u002Fset via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and filtering with custom attributes. Use when caching LLM completions or RAG answers to cut API cost and latency, building a cache-aside layer in front of OpenAI \u002F Anthropic \u002F etc., tuning hit rate vs precision, or splitting one app's LLM workloads into multiple LangCache caches.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[693,694,695,698,699],{"name":589,"slug":590,"type":15},{"name":615,"slug":616,"type":15},{"name":696,"slug":697,"type":15},"LLM","llm",{"name":9,"slug":8,"type":15},{"name":664,"slug":665,"type":15},"2026-05-27T07:19:43.897283",{"slug":702,"name":702,"fn":703,"description":704,"org":705,"tags":706,"stars":713,"repoUrl":714,"updatedAt":715},"agent-filesystem","manage persistent storage in Redis","Use when agents need persistent shared storage, when saving or restoring workspace state, or when coordinating file access across multiple agents and machines. Creates Redis-backed workspaces, checkpoints and restores agent state, mounts shared filesystems locally, searches workspace contents, and forks workspaces for parallel work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[707,708,711,712],{"name":586,"slug":587,"type":15},{"name":709,"slug":710,"type":15},"File Storage","file-storage",{"name":595,"slug":596,"type":15},{"name":9,"slug":8,"type":15},22,"https:\u002F\u002Fgithub.com\u002Fredis\u002Fagent-filesystem","2026-04-10T04:51:05.904489",{"slug":717,"name":717,"fn":718,"description":719,"org":720,"tags":721,"stars":713,"repoUrl":714,"updatedAt":730},"codex-settings-sync","sync Codex settings across computers","Use when the user wants to migrate Codex state in ~\u002F.codex into Agent Filesystem and mount the same shared Codex memory\u002Fsettings across multiple computers. Recommends a .afsignore before migration and defaults to excluding worktrees, caches, logs, and temporary files.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[722,725,726,729],{"name":723,"slug":724,"type":15},"Codex","codex",{"name":595,"slug":596,"type":15},{"name":727,"slug":728,"type":15},"Migration","migration",{"name":9,"slug":8,"type":15},"2026-04-10T04:51:07.268248",{"slug":732,"name":732,"fn":733,"description":734,"org":735,"tags":736,"stars":745,"repoUrl":746,"updatedAt":747},"cloud-database-provisioning","provision Redis Cloud databases","Provision a Redis Cloud database end-to-end — Essentials (fixed plan) or Pro (custom) — using Redis Cloud MCP tools",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[737,740,741,744],{"name":738,"slug":739,"type":15},"Cloud","cloud",{"name":20,"slug":21,"type":15},{"name":742,"slug":743,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},15,"https:\u002F\u002Fgithub.com\u002Fredis\u002Fredisctl","2026-06-03T07:53:00.906753",{"slug":749,"name":749,"fn":750,"description":751,"org":752,"tags":753,"stars":745,"repoUrl":746,"updatedAt":760},"compare-approaches","prototype Redis data model alternatives","Prototype and compare 2-3 Redis data model alternatives for the same workload",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[754,755,756,759],{"name":628,"slug":629,"type":15},{"name":20,"slug":21,"type":15},{"name":757,"slug":758,"type":15},"Prototyping","prototyping",{"name":9,"slug":8,"type":15},"2026-05-27T07:19:55.591944",27,{"items":763,"total":818},[764,772,780,787,794,802,810],{"slug":580,"name":580,"fn":581,"description":582,"org":765,"tags":766,"stars":26,"repoUrl":27,"updatedAt":598},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[767,768,769,770,771],{"name":586,"slug":587,"type":15},{"name":589,"slug":590,"type":15},{"name":592,"slug":593,"type":15},{"name":595,"slug":596,"type":15},{"name":9,"slug":8,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":773,"tags":774,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[775,776,777,778,779],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":24,"slug":25,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":608,"name":608,"fn":609,"description":610,"org":781,"tags":782,"stars":26,"repoUrl":27,"updatedAt":619},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[783,784,785,786],{"name":592,"slug":593,"type":15},{"name":615,"slug":616,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":621,"name":621,"fn":622,"description":623,"org":788,"tags":789,"stars":26,"repoUrl":27,"updatedAt":632},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[790,791,792,793],{"name":17,"slug":18,"type":15},{"name":628,"slug":629,"type":15},{"name":20,"slug":21,"type":15},{"name":9,"slug":8,"type":15},{"slug":634,"name":634,"fn":635,"description":636,"org":795,"tags":796,"stars":26,"repoUrl":27,"updatedAt":650},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[797,798,799,800,801],{"name":640,"slug":641,"type":15},{"name":643,"slug":644,"type":15},{"name":646,"slug":647,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":652,"name":652,"fn":653,"description":654,"org":803,"tags":804,"stars":26,"repoUrl":27,"updatedAt":666},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[805,806,807,808,809],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":660,"slug":661,"type":15},{"name":9,"slug":8,"type":15},{"name":664,"slug":665,"type":15},{"slug":668,"name":668,"fn":669,"description":670,"org":811,"tags":812,"stars":26,"repoUrl":27,"updatedAt":686},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[813,814,815,816,817],{"name":674,"slug":675,"type":15},{"name":677,"slug":678,"type":15},{"name":680,"slug":681,"type":15},{"name":9,"slug":8,"type":15},{"name":684,"slug":685,"type":15},8]