Build shared app state with Redis patterns.
Guides implementation of Redis-backed application state with Python examples for caching, sessions, messaging, and distributed coordination.
When to use it
Use when implementing application caching, distributed sessions, real-time messaging, process coordination, or rate limiting with Redis.
It changes how the agent implements Redis-backed state in a project, applying guidance on connection pooling, expiration, atomic operations, and error handling.
What you provide
The implementation examples run in Python; no Python version is specified.
The guide uses redis-py as its Redis client library.
Running the examples requires a reachable Redis server; the basic setup connects to localhost on port 6379 and tests the connection.
No additional actions listed.