Patching LMDB: How We Made Meilisearch’s Vector Store 333% Faster
Summary
The post explains patching LMDB to speed up Meilisearch’s vector store by enabling nested read transactions and lazy access to uncommitted changes. It covers architectural changes (FrozenReader, nested transactions, thread-local reads) and shows measured gains from indexing more embeddings with improved cache efficiency and throughput.