Overview
RedisStorage provides a Redis-based storage backend. Ideal for distributed systems, high-performance requirements, and applications needing TTL-based expiration.
Install
Install the Redis storage optional dependency group:
Basic Usage
Parameters
Storage Type
RedisStorage is a synchronous storage implementation. For Redis Cluster support, provide a pre-configured RedisCluster client.
Key Structure
Keys are structured as:{db_prefix}:{table}:{id}
Example: myapp:sessions:session_001
