Skip to main content

Module persistence

Module persistence 

Source
Expand description

Persistence layer for Interstice

This module provides durable storage of transactions via an append-only log. Key responsibilities:

  • Write mutations to disk before acknowledging them
  • Validate and recover from corrupted logs
  • Enable replay of the log to reconstruct state

Structsยง

LogRotator
Manages log rotation for transaction logs
PersistenceConfig
Configuration for transaction log persistence.
RotationConfig
Configuration for log rotation behavior
TransactionLog
Append-only transaction log for durable storage