Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture

This documentation covers how to use rhypedb. For how it works inside — the LSM-tree storage engine, the write-ahead log, MVCC snapshot isolation, the TurboQuant/HNSW vector pipeline, the wire protocol, and the crate layout — see the architecture document in the repository:

→ ARCHITECTURE.md

A short orientation to the workspace crates:

CrateRole
rhypedb-storageLSM-tree, WAL, memtable, SSTs, MVCC, the single-writer data-dir lock.
rhypedb-schemaThe schema DSL parser and type system.
rhypedb-engineThe database engine: catalog, object model, migrations, the vectorizer queue.
rhypedb-vectorHNSW indexing, TurboQuant quantization, distance metrics.
rhypedb-queryQuery language AST, parser, and executor.
rhypedb-embedText embedding models (via ONNX Runtime) for @vectorize.
rhypedb-subscribeChange events and subscription filters.
rhypedb-serverThe server binary: HTTP + TCP, admin API. Also ships rhypedb-import.
rhypedb-cliThe client and operator tool.