<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Clément Renault&apos;s blog</title><link>https://blog.kerollmops.com/</link><description></description><item><title>The Good, the Bad, and the Leaky: jemalloc, bumpalo, and mimalloc in meilisearch</title><link>https://blog.kerollmops.com/the-good-the-bad-and-the-leaky-jemalloc-bumpalo-and-mimalloc-in-meilisearch</link><description><![CDATA[ How I dove into a spooky memory leak, found it, but discovered that the actual leak was more on mimalloc's side than on meilisearch's. I used jemalloc's powerful tooling and a bit of help from an LLM to dive into this hard-to-tackle issue. ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/the-good-the-bad-and-the-leaky-jemalloc-bumpalo-and-mimalloc-in-meilisearch</guid><pubDate>Fri, 20 Mar 2026 13:13:11 +0000</pubDate><atom:link href="https://blog.kerollmops.com/the-good-the-bad-and-the-leaky-jemalloc-bumpalo-and-mimalloc-in-meilisearch" rel="related" title="The Good, the Bad, and the Leaky: jemalloc, bumpalo, and mimalloc in meilisearch"/></item><item><title>Patching LMDB: How We Made Meilisearch’s Vector Store 3x Faster</title><link>https://blog.kerollmops.com/patching-lmdb-how-we-made-meilisearch-s-vector-store-3x-faster</link><description><![CDATA[ How Meilisearch drastically sped up the indexation of embeddings in its vector store by introducing a new LMDB API. This new API allows Meilisearch to scale linearly with the number of available indexing CPUs, removing the need to fully scan the database and polluting the cache with plenty of potentially useless disk pages. ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/patching-lmdb-how-we-made-meilisearch-s-vector-store-3x-faster</guid><pubDate>Fri, 13 Mar 2026 16:44:59 +0000</pubDate><atom:link href="https://blog.kerollmops.com/patching-lmdb-how-we-made-meilisearch-s-vector-store-3x-faster" rel="related" title="Patching LMDB: How We Made Meilisearch’s Vector Store 3x Faster"/></item><item><title>From trees to graphs: speeding up vector search 10x with Hannoy</title><link>https://blog.kerollmops.com/from-trees-to-graphs-speeding-up-vector-search-10x-with-hannoy</link><description><![CDATA[ This is a walkthrough of a new LMDB-based HNSW Rust vector store with drastically better performances than the previous random-projection-based one. This is a disk-based HNSW highly vector store inspired by the DiskANN technology and is now used by default in Meilisearch. ]]></description><author>renault.cle@gmail.com (nate)</author><guid>https://blog.kerollmops.com/from-trees-to-graphs-speeding-up-vector-search-10x-with-hannoy</guid><pubDate>Mon, 08 Dec 2025 09:39:31 +0000</pubDate><atom:link href="https://blog.kerollmops.com/from-trees-to-graphs-speeding-up-vector-search-10x-with-hannoy" rel="related" title="From trees to graphs: speeding up vector search 10x with Hannoy"/></item><item><title>Meilisearch vs Qdrant: Tradeoffs, Strengths and Weaknesses</title><link>https://blog.kerollmops.com/meilisearch-vs-qdrant-tradeoffs-strengths-and-weaknesses</link><description><![CDATA[ This is an analysis of the weaknesses of Qdrant and its RocksDB-based HNSW compared to Meilisearch. Meilisearch shows impressive results on highly filtered datasets when Qdrant struggles with relevancy and search time. ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/meilisearch-vs-qdrant-tradeoffs-strengths-and-weaknesses</guid><pubDate>Mon, 20 Jan 2025 15:02:14 +0000</pubDate><atom:link href="https://blog.kerollmops.com/meilisearch-vs-qdrant-tradeoffs-strengths-and-weaknesses" rel="related" title="Meilisearch vs Qdrant: Tradeoffs, Strengths and Weaknesses"/></item><item><title>Meilisearch Indexes Embeddings 7x Faster with Binary Quantization</title><link>https://blog.kerollmops.com/meilisearch-indexes-embeddings-7x-faster-with-binary-quantization</link><description><![CDATA[ Let's explore the use of binary quantization as a powerful technique in search technology. By implementing binary quantization with the vector store, Arroy, significant reductions in disk space usage and indexing time for large embeddings have been achieved while maintaining search relevance and efficiency. ]]></description><author>renault.cle@gmail.com (Tamo)</author><guid>https://blog.kerollmops.com/meilisearch-indexes-embeddings-7x-faster-with-binary-quantization</guid><pubDate>Fri, 29 Nov 2024 11:30:41 +0000</pubDate><atom:link href="https://blog.kerollmops.com/meilisearch-indexes-embeddings-7x-faster-with-binary-quantization" rel="related" title="Meilisearch Indexes Embeddings 7x Faster with Binary Quantization"/></item><item><title>Meilisearch is too slow</title><link>https://blog.kerollmops.com/meilisearch-is-too-slow</link><description><![CDATA[ In this blog post, we explore the enhancements needed for Meilisearch's document indexer. We'll discuss the current indexing engine, its drawbacks, and new techniques to optimize performance. With insights on parallel processing, memory management, and efficient data handling, we'll draft a robust new indexer to better handle large datasets and frequent updates. Join us for a deep dive into making Meilisearch's indexing faster, more efficient, and scalable. ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/meilisearch-is-too-slow</guid><pubDate>Tue, 20 Aug 2024 12:56:07 +0000</pubDate><atom:link href="https://blog.kerollmops.com/meilisearch-is-too-slow" rel="related" title="Meilisearch is too slow"/></item><item><title>How Meilisearch Updates a Millions Vector Embeddings Database in Under a Minute</title><link>https://blog.kerollmops.com/how-meilisearch-updates-a-millions-vector-embeddings-database-in-under-a-minute</link><description><![CDATA[ In this blog post, we'll explore how we implemented incremental indexing in Arroy, enabling efficient updates to our vector store without rebuilding the entire tree. This is crucial for Meilisearch, where content frequently changes. We discuss the theory, the challenges faced, and various approaches to optimize ID generation. Our method delivers a significant speedup, making our search system scalable and responsive, even for large datasets. We've achieved remarkable performance improvements, benefiting users with dynamic and extensive data. ]]></description><author>renault.cle@gmail.com (Tamo)</author><guid>https://blog.kerollmops.com/how-meilisearch-updates-a-millions-vector-embeddings-database-in-under-a-minute</guid><pubDate>Mon, 25 Mar 2024 17:36:55 +0000</pubDate><atom:link href="https://blog.kerollmops.com/how-meilisearch-updates-a-millions-vector-embeddings-database-in-under-a-minute" rel="related" title="How Meilisearch Updates a Millions Vector Embeddings Database in Under a Minute"/></item><item><title>Meilisearch Expands Search Power with Arroy&apos;s Filtered Disk ANN</title><link>https://blog.kerollmops.com/meilisearch-expands-search-power-with-arroy-s-filtered-disk-ann</link><description><![CDATA[ Meilisearch is enhancing its search capabilities by integrating Arroy, which supports efficient vector storage and filtering. Arroy outperforms previous solutions like HNSW, especially for large datasets. With the use of RoaringBitmap for filtering, Arroy reduces memory usage and speeds up searches. New features include support for multiple indexes, enabling efficient handling of various embeddings. This teamwork-driven project highlights flexibility and scalability for diverse search needs. ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/meilisearch-expands-search-power-with-arroy-s-filtered-disk-ann</guid><pubDate>Sat, 23 Dec 2023 16:00:13 +0000</pubDate><atom:link href="https://blog.kerollmops.com/meilisearch-expands-search-power-with-arroy-s-filtered-disk-ann" rel="related" title="Meilisearch Expands Search Power with Arroy&apos;s Filtered Disk ANN"/></item><item><title>Multithreading and Memory-Mapping: Refining ANN Performance with Arroy</title><link>https://blog.kerollmops.com/multithreading-and-memory-mapping-refining-ann-performance-with-arroy</link><description><![CDATA[ Dive into my journey of porting Spotify's Annoy library to Rust using LMDB. Learn how I tackled memory-mapped file challenges, optimized tree node generation, and achieved significant performance improvements for indexing large vector datasets. Discover the power of the Share Nothing principle and prepare for future insights on incremental indexing and filtering. ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/multithreading-and-memory-mapping-refining-ann-performance-with-arroy</guid><pubDate>Sat, 16 Dec 2023 08:08:32 +0000</pubDate><atom:link href="https://blog.kerollmops.com/multithreading-and-memory-mapping-refining-ann-performance-with-arroy" rel="related" title="Multithreading and Memory-Mapping: Refining ANN Performance with Arroy"/></item><item><title>Spotify-Inspired: Elevating Meilisearch with Hybrid Search and Rust</title><link>https://blog.kerollmops.com/spotify-inspired-elevating-meilisearch-with-hybrid-search-and-rust</link><description><![CDATA[ At Meilisearch, we're blending keyword and semantic search to enhance query results. Our project, Arroy, stores embeddings on disk, optimizing search among high-dimensional vectors with Spotify's Annoy as inspiration. By porting to Rust and using LMDB, we improve efficiency and manage storage effectively. We optimize vector handling with SIMD and plan to tackle multithreaded tree building and incremental indexing in future updates. Join us on this tech journey! ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/spotify-inspired-elevating-meilisearch-with-hybrid-search-and-rust</guid><pubDate>Fri, 08 Dec 2023 12:52:36 +0000</pubDate><atom:link href="https://blog.kerollmops.com/spotify-inspired-elevating-meilisearch-with-hybrid-search-and-rust" rel="related" title="Spotify-Inspired: Elevating Meilisearch with Hybrid Search and Rust"/></item><item><title>Using Rust and the GitHub CI for my blog</title><link>https://blog.kerollmops.com/using-rust-and-the-github-ci-for-my-blog</link><description><![CDATA[ In my first blog post, I share how I built my blog on GitHub Pages using GitHub CI. Inspired by Utterances, I use GitHub issues to display articles and GitHub API for ease of use. Leveraging Rust, octocrab, Starry Night, and Askama, I generate static pages and ensure code syntax highlighting. Bootstrap and PurgeCSS helped achieve a sleek, high-performing design. My blog is live, open-source, and ready for you to explore on GitHub! ]]></description><author>renault.cle@gmail.com (Clément Renault)</author><guid>https://blog.kerollmops.com/using-rust-and-the-github-ci-for-my-blog</guid><pubDate>Wed, 09 Aug 2023 18:44:52 +0000</pubDate><atom:link href="https://blog.kerollmops.com/using-rust-and-the-github-ci-for-my-blog" rel="related" title="Using Rust and the GitHub CI for my blog"/></item></channel></rss>