redis-caching-queues
SKILL.md
Redis Caching & Queues
When to use this skill
- Implementing caching (KV store).
- Setting up background job queues.
- Configuring Redis persistence.
1. Caching Strategies
- TTL: Always set a Time-To-Live (TTL) for cache keys to prevent memory leaks.
- Keys: Use namespaced keys
app:user:123to avoid collisions. - Invalidation: Prefer short TTLs over complex invalidation logic where possible.
2. Queues
- Laravel: Use
redisdriver for queue. Runphp artisan horizonfor monitoring. - Python: Use Celery or RQ backed by Redis.
- Atomicity: Use
LPUSH/RPOPor Streams for reliable messaging.
3. Configuration
- Maxmemory: Configure
maxmemoryand eviction policy (allkeys-lrufor cache,noevictionfor queues). - Persistence: Enable RDB snapshots for queues; AOF for higher durability needs.
Weekly Installs
4
Repository
sraloff/gravitybootsGitHub Stars
2
First Seen
Feb 21, 2026
Security Audits
Installed on
opencode4
gemini-cli4
github-copilot4
codex4
kimi-cli4
amp4