2 days ago
Thurs Feb 5, 2026 2:24pm PST
Show HN: Lightweight embedded document database in Rust with ACID and MVCC
i wanted a db that is like sqlite but it should be a document db, so here i made it, (i asked chatgpt to summarize feats): Here’s a lightweight, embedded document DB in Rust with ACID transactions + MVCC (snapshot isolation; reads don’t block writes). Features: JSON docs (auto IDs, upsert, CRUD); copy-on-write B-tree engine with single/compound/unique indexes; WAL with CRC32 + crash recovery + auto-checkpointing; query language (and/or/not, comparisons, exists/has) w/ dot-notation; aggregation pipeline (match/sort/limit/skip/project/exclude + group/count/sum/avg/min/max); full-text search (unicode tokenization + TF-IDF); change streams; bulk ops; schema validation (JSON Schema); backup/restore; MVCC GC; read-only mode; LRU page cache; metrics; language bindings (Go/Python/JS via C FFI). Repo: https://github.com/sohzm/jasonisnthappy
read article
comments:
add comment
loading comments...