Reliability
Durability before mutation.
TriviumDB's write path is designed around recovery. Mutations are validated, recorded in a CRC-protected write-ahead log, flushed across fsync boundaries, checkpointed with atomic rename, and replayed on startup when needed.
- Dry runValidate the combined vector, payload, and edge operation before committing it.
- WAL + CRCAppend checksummed frames so recovery can detect unsafe or torn tails.
- fsync + renameFlush durable bytes and publish checkpoints atomically.
- ReplayOn startup, complete safe records and preserve a consistent node space.