redis-cache-strategy

Solid

Redis caching strategy designer and reviewer. ALWAYS use when designing, reviewing, or troubleshooting Redis caching layers — cache pattern selection (cache-aside, write-through, write-behind), TTL strategy, cache stampede/penetration/avalanche prevention, hot key handling, cache-DB consistency, distributed locking, key naming, and degradation design. Use even for "just add a cache" requests — cache invalidation is one of the two hard problems in computer science, and a naive implementation creates subtle consistency bugs that surface only under load.

AI & Automation 30 stars 5 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Redis Cache Strategy Review ## Quick Reference **§1** scope · **§2** gates (context, mode, risk, completeness) · **§3** depth · **§4** degradation modes · **§5** the checklist — the only item list · **§6** pattern selection · **§7** anti-example index · **§8** how §5's items are scored · **§9** output contract · **§10** which reference to load when. References: `cache-patterns.md` (patterns in depth) · `cache-failure-modes.md` (stampede / penetration / avalanche / hot key) · `distributed-locks.md` (fencing, renewal, failover) · `cache-anti-examples.md` (AE-1 … AE-13 with code) · `redis-version-matrix.md` (what each Redis version changes). --- ## §1 Scope **In scope** — Redis caching strategy for production backend services. The §5 checklist *is* the scope; it is not restated here, because a second copy of a list is the defect this skill spent a release removing. **Out of scope** — delegate to dedicated skills: - Redis cluster topology, persistence (RDB/AOF), replication config → `redis-best-practise` - Application code changes → `go-code-reviewer` or language-specific reviewer - Security hardening, ACL, TLS → `redis-best-practise` --- ## §2 Mandatory Gates Execute gates sequentially. Each gate has a **STOP** condition. ### Gate 1: Context Collection | Item | Why it matters | If unknown | |------|----------------|------------| | **Redis version** (major.minor) | Gates several concrete answers this skill gives — see below | **Never assume a version.** Answer in b...

Details

Author
johnqtcg
Repository
johnqtcg/awesome-skills
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category