Settings

Theme

Show HN: Lightweight embedded document database in Rust with ACID and MVCC

github.com

3 points by sohzm 7 days ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection