Expand description
Redis-backed StateStore (brief §8 “Redis Cluster” layer).
Check-and-spend runs as a server-side Lua script so it is atomic across
distributed clients — same contract as InMemoryStore::try_spend.
Contract tests live in tests/redis_contract.rs, gated on AV_REDIS_URL
(skipped loudly when unset — a skipped gate prints, never silently passes).
Structs§
- Redis
Store - Redis-backed store. Connections are pooled internally (r2d2 for both
single-node and cluster; the redis crate implements
r2d2::ManageConnectionforClusterClientdirectly).