Lobby state in Valkey (ephemeral) + PostgreSQL (durable) #37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Lobby state has ephemeral components (who's connected, current question, timer) and durable components (who played, final scores).
What to do
Use Valkey for live state, PostgreSQL for permanent records.
What goes where
Valkey (ephemeral, TTL-based):
PostgreSQL (durable):
Acceptance criteria
Notes
Depends on: Valkey being added to production stack (see Valkey issue). The
GameSessionStoreinterface can be extended or a newLobbyStateStoreinterface created.