Module redis_cache

Module redis_cache 

Source
Expand description

Redis-based L2 cache for distributed authorization

Provides shared caching across multiple API servers with:

  • Distributed cache invalidation
  • TTL-based expiration
  • Pub/sub for cache updates
  • High availability support

Structs§

CachedPermission
Cached permission check result
PermissionCacheKey
Cache key for permission checks
RedisCache
Redis cache for authorization (L2 cache)
RedisCacheConfig
Redis cache configuration
RedisCacheStats
Redis cache statistics

Enums§

RedisCacheError

Type Aliases§

Result