VennDB - Append-only in-memory Rust database for bit-flag queries
Show HN: VennDB: append-only in-memory Rust DB for rows queried using bit flags
VennDB is a lightweight, append-only in-memory database written in Rust that lets you query rows using bit flags and filter maps, much like a Venn diagram. Designed for static datasets loaded at startup and queried constantly with simple filters, it has minimal dependencies and outperforms naive implementations and SQLite in benchmarks. Originally built for the rama proxy, VennDB is ideal for long-lived read-only use cases where you need fast, compact filtering on binary properties and random matching results.
For the limited use cases where venndb can be applied, it has next to no dependencies and is faster than traditional choices, such as a naive implementation or a more heavy lifted dependency such as Sqlite.