Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Redis Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-redis-patterns)
---
name: redis-patterns
description: "Redis patterns: caching, rate limits, locks, streams and key design with TTLs."
tags: [database, backend]
---
# Redis Patterns
## When to use
- Caching, counters, queues, locks
## Procedure
1. Namespace keys
2. Always set TTLs where appropriate
3. Use Lua or MULTI for atomicity
4. Use Redlock carefully
5. Monitor memory and evictions
## Checklist
- [ ] Eviction policy chosen
## Anti-patterns
- Using Redis as the only copy of important data