Skip to main content

Module storage

Module storage 

Source
Expand description

Storage primitives shared by native and browser runtimes.

The native pager uses these exact page, freelist, cache and byte-I/O implementations, including pager orchestration and allocation fences. WAL implementation and encryption remain host/runtime policy.

Modulesยง

btree
B+ Tree Implementation for Page-Based Storage
crc32
CRC32 checksum implementation (IEEE 802.3 polynomial), SIMD-accelerated.
entity
Unified Entity Model
entity_codec
Canonical logical entity adapter for native store versions V1 through V12. Physical record framing and value bytes remain owned by reddb-file.
entity_id
Stable entity identity shared by storage and transaction tracking.
freelist
Free Page List Management
metadata
Type-Aware Metadata Storage
metadata_codec
Canonical native metadata bytes and entity-record adapter, shared with WASM.
overflow
Overflow chain storage
page
Page structure for RedDB storage engine
page_cache
SIEVE Page Cache Implementation
page_store
Page operations used by the shared B-tree and overflow algorithms.
pager
Shared pager orchestration over an exclusively owned VFS file.
pager_io
Byte I/O shared by the native pager and exclusively owned browser handles.
segment
Unified Segment System
snapshot
Streaming recovery of the existing native store dump.