Meilisearch's CTO details how they patched LMDB to support nested read transactions on uncommitted writes, eliminating full database scans in their HNSW-based vector store. The previous approach used a full scan to collect memory-mapped pointers into a HashMap for multi-threaded access. Two key optimizations were made: removing

16m read timeFrom meilisearch.com
Post cover image
Table of contents
Reminder of the factsStop computing useless statsFull scans are harmfulBut what's the new trick?Results: over 3x faster

Sort: