Log-free or in-memory log mode #183

Open
opened 2020-08-06 16:56:19 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:56:19 +00:00 (Migrated from github.com)

In theory, Mentat could run without a long-running persistent log.

Writes are transacted directly against datoms. Consumers that don't ever need to inspect the log — no syncing, no querying the log — could run without the log altogether. Consumers that might need partial log use, e.g., to support observers, could use a transient non-persisted log to handle writes within the lifetime of the process itself.

The upside, of course, is that writes become cheaper and the database becomes smaller.

In theory, Mentat could run without a long-running persistent log. Writes are transacted directly against `datoms`. Consumers that don't ever need to inspect the log — no syncing, no querying the log — could run without the log altogether. Consumers that might need partial log use, e.g., to support observers, could use a transient non-persisted log to handle writes within the lifetime of the process itself. The upside, of course, is that writes become cheaper and the database becomes smaller.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#183
No description provided.