Expand description
Persistent session store — pluggable backend for session state.
Sessions are serialized to JSON and stored via a SessionStore
backend. On coordinator restart, sessions are loaded from the
store and restored to their last-persisted state.
§OCP design
New backends (Redis, PostgreSQL, S3) are added by implementing
the SessionStore trait.
Structs§
- File
Session Store - File-based session store. Each session is a JSON file in a directory.
- InMemory
Session Store - In-memory session store (default, no persistence).
- Session
Snapshot - Serialized session snapshot — the unit of persistence.
Enums§
- Store
Error - Errors during store operations.
Traits§
- Session
Store - Trait for session persistence backends.