Skip to main content

Module storage_store

Module storage_store 

Source
Expand description

Storage-backed session store with in-memory write-through cache.

Design decision: In-memory cache for hot-path reads (request latency), write-through to persistent storage for durability (persistence depth). On startup, the cache is populated from storage.

REQ-001: Session state survives process restart. REQ-007: Storage behind async trait; swappable backends.

Structsยง

StorageBackedSessionStore
A session store backed by persistent storage with an in-memory cache.