redis

Design Redis 8 caching, sessions, rate limiting, and event processing with correct data structures and delivery semantics.

15|2|Updated May 23, 2026
One-click install
npx skills add https://github.com/VKirill/antigravity-for-claude-code --skill redis-vkirill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: redis
Source: https://github.com/VKirill/antigravity-for-claude-code/tree/main/skills/redis
Command: npx skills add https://github.com/VKirill/antigravity-for-claude-code --skill redis-vkirill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design and implement Redis 8 solutions that stay reliable under load by picking the right data model, client, and operational safeguards (TTL, eviction, persistence, and topology) instead of relying on fragile “copy-paste” snippets.

Core Features & Use Cases

  • Data structures & command selection: Use Redis 8 primitives (strings, lists, hashes incl. hash field TTL, sets, sorted sets, streams, HLL, GEO, bitmaps) matched to the job.
  • Caching patterns that don’t melt your DB: Apply cache-aside/write-through, TTL jitter, and stampede protection with distributed locks.
  • Pub/Sub vs Streams with correct delivery semantics: Use Streams consumer groups with ack and auto-claim for at-least-once processing, and avoid misuse of Pub/Sub.
  • Production deployment & safety: Configure persistence (RDB/AOF), replication (Sentinel/Cluster), ACL/TLS, and high-stakes guardrails like noeviction for queue workloads.

Quick Start

Use the redis skill to build a safe Redis 8 cache with TTL jitter and stampede protection for key user:123:profile and verify the setup with the recommended defaults.

Frequently Asked Questions about redis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Redis cache invalidation to prevent database stampedes?

Redis cache invalidation prevents stampedes by applying cache-aside patterns, distributed locks, and TTL jitter. This ensures synchronized cache misses do not overwhelm the database during high traffic bursts.

When should I use Redis Streams instead of Pub/Sub for event processing?

Redis Streams should be used instead of Pub/Sub when you need guaranteed at-least-once delivery semantics. Streams support consumer groups with acknowledgment and auto-claim for reliable event processing workflows.

How do I configure Redis persistence and replication for production deployment?

Redis production deployment requires selecting persistence (RDB/AOF) and replication topology (standalone, Sentinel, or Cluster). This ensures high availability and data durability based on your specific operational requirements.

Does Redis 8 support hash field TTL for individual data expiration?

Redis 8 supports hash field TTL, allowing individual expiration on hash fields. This provides granular memory management and cache eviction control for complex data structures without deleting the entire hash key.

What are the best practices for Redis rate limiting and maxmemory policy?

Redis rate limiting and maxmemory policy best practices involve tuning eviction policies like `noeviction` for queue workloads. This prevents critical data loss while maintaining strict memory boundaries under heavy load.

How do I secure Redis 8 with ACL and TLS configuration?

Securing Redis 8 involves configuring Access Control Lists (ACL) and Transport Layer Security (TLS). These features enforce client authentication and encrypt network traffic for production-safe deployments.