skills/smithery.ai/redis-cache-patterns

redis-cache-patterns

Installation
SKILL.md

Redis Caching Best Practices

Overview

Redis caching reduces Firestore reads and improves response latency. However, Redis introduces concerns around max connections, network egress costs, and failure handling.

Key Principles:

  • Fail fast, fail safe - Never block requests due to Redis issues
  • Fire-and-forget writes - Cache writes should not slow down responses
  • Circuit breaker - Temporarily disable Redis on connection issues
  • Graceful degradation - Always fall back to Firestore

Connection Management

Singleton Pattern with Lazy Connection

Installs
1
First Seen
Apr 7, 2026