reckon_db_snapshot_backend behaviour (reckon_db v2.3.6)
View SourceBehaviour for pluggable snapshot backends.
Aggregate snapshots are a COLD PATH — written periodically by evoq's maybe_snapshot/1 trigger, read only during aggregate rehydration. Not the bottleneck that drove the log-backend split, but equally worth isolating so a backend can specialise (e.g., a RocksDB log backend could either reuse its column families for snapshots, or delegate to the Khepri control plane).
The default implementation (reckon_db_khepri_snapshot_backend) stores snapshots in Khepri — completely fine for cold-path use. Alternative implementations exist primarily to avoid the Khepri dependency when a backend wants to be self-contained.