Skip to content
redis logo

Redis

redis

Redis DBA skill for cache/data-structure design, performance tuning, memory optimization, persistence (RDB/AOF), replication/cluster, high availability (Sentinel), and operational troubleshooting. Use for tasks like diagnosing latency spikes, eviction issues, hot keys, and designing safe cache pa...

SKILL.md

Full skill instructions

redis

Use this skill for Redis 相关设计、性能与运维(DBA/中间件)任务。

Defaults / assumptions to confirm

  • Redis mode: single instance / Sentinel / Cluster
  • Version and deployment (bare metal, Docker, managed)
  • Persistence: RDB / AOF / both
  • Memory policy and eviction strategy

Workflow

  1. Understand use-cases
  • Cache vs primary store vs queue/​stream.
  • Data size, TTL distribution, QPS, latency SLO.
  • Consistency requirements and acceptable staleness.
  1. Key design
  • Namespacing: {app}:{domain}:{entity}:{id} (or similar)
  • Avoid overly long keys; ensure stable prefixes for metrics.
  • Plan for multi-tenant isolation if needed.
  1. Data structures & patterns
  • Strings/​Hashes for objects, Sets/​ZSets for membership/​ranking, Streams for event pipelines.
  • Avoid large values; prefer hashes for many small fields.
  • Choose one cache pattern explicitly: Cache-Aside / Write-Through / Write-Behind.
  • Prevent cache stampede: singleflight/​mutex, request coalescing, jittered TTL.
  1. Performance & reliability
  • Identify hot keys, big keys, slow commands.
  • Use pipelining where safe; avoid blocking commands on large collections.
  • Track latency with LATENCY DOCTOR / slowlog; instrument at client.
  1. Memory management
  • Set maxmemory and an eviction policy suitable for workload (allkeys-lru, volatile-ttl, etc.).
  • Watch fragmentation and RSS vs used_memory.
  • Use key TTLs and size controls to avoid unbounded growth.
  1. Persistence & durability
  • RDB: snapshot intervals, fork time, disk IO impact.
  • AOF: fsync policy, rewrite, size growth.
  • Define recovery objectives (RPO/​RTO) explicitly.
  1. HA / scaling
  • Sentinel: failover behavior, client reconnection strategy.
  • Cluster: hash slots, resharding plan, multi-key operations constraints.
  • Plan for multi-AZ and network partitions.
  1. Operations checklist
  • Backups and restore drills (test in staging).
  • Capacity planning: memory headroom, CPU, network bandwidth.
  • Upgrade playbook and rollback plan.

Outputs

  • Key/​TTL design doc (prefixes, structures, TTL, max size).
  • Config recommendations (maxmemory, persistence, replication).
  • Troubleshooting report (symptoms → evidence → root cause → fixes).

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View