โ† All docs  ยท  Home

ADR 0008 โ€” Durable demo storage via JSON-Lines snapshots

Context

The default container uses Oxigraph's in-memory backend (ADR 0005 / deployment), chosen so the image needs no Clang/RocksDB and stays a clean single binary. The cost: data is lost on restart. That is fine for a throwaway demo but surprising for anyone who runs docker compose up, posts feedback, and restarts.

A full durable backend (RocksDB, or a transactional WAL) is the long-term answer but reintroduces the build complexity we deliberately avoided.

Decision

Add snapshot persistence on top of any FeedbackStore, independent of the backend:

Why JSON-Lines (not Oxigraph's RDF dump)

Consequences