Module redis
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Redis-backed StorageBackend implementation.
Provides RedisBackend which persists runs, plans, trie envelopes, and accumulator state in Redis using atomic JSON blob operations.
Key layout
All keys are prefixed with the configurable key_prefix:
- Kind | Key pattern | Value
- Run record |
{prefix}runs:{agent_id}:{run_id}| JSON RunRecord - Run index |
{prefix}runs_index:{agent_id}| LIST of run UUIDs - Execution plan |
{prefix}plan:{agent_id}| JSON ExecutionPlan - Trie envelope |
{prefix}trie:{agent_id}| JSON TrieEnvelope - Accumulators |
{prefix}accumulators:{agent_id}| JSON AccumulatorState
Structs
- RedisBackend: A Redis-backed storage backend for cross-process shared state.