Skip to main content

Module store

Module store 

Source
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§

FileSessionStore
File-based session store. Each session is a JSON file in a directory.
InMemorySessionStore
In-memory session store (default, no persistence).
SessionSnapshot
Serialized session snapshot — the unit of persistence.

Enums§

StoreError
Errors during store operations.

Traits§

SessionStore
Trait for session persistence backends.