ArborDb 1.0: Rust document store reads single fields without decoding full records
ArborDb is a pure-Rust, transactional, indexed document store designed to read individual fields directly from storage without deserializing an entire record. Unlike most embedded document stores that decode a full value regardless of how little data is needed, ArborDb serializes each document as a single blob with offset tables, enabling O(1) list element access and O(log n) field lookups. It is the 1.0 successor to StratoDb, retaining the same typed model and derive macros while adopting a completely different storage strategy built on top of the redb key-value engine. The library offers both a dynamic Value API and a derive-based typed API with lazy accessors that let developers read or patch a single nested field without a full decode. Tables in ArborDb are organized as hierarchical directories rather than flat keyspaces, supporting filesystem-style operations such as move and copy alongside standard value reads and writes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in