Skip to main content

reifydb_sub_column/
lib.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2025 ReifyDB
3
4//! Storage-materialization subsystem: the actor that turns committed deltas into materialized columns in the columnar
5//! store. Subscribes to CDC, batches writes per shape, drives the encoders in `column/`, and updates the catalog
6//! registry so newly-written columns are visible to readers.
7//!
8//! The subsystem owns the trade-off between materialization latency and write amplification - too aggressive and
9//! every commit pays a heavy column rewrite; too lazy and reads of recent data fall back to row-shaped storage. The
10//! actor's policy is what decides when to flush and how to coalesce successive deltas into a single column rewrite.
11
12pub mod actor;
13pub mod error;
14pub mod factory;
15pub mod subsystem;