Milvus vs Qdrant: Architecture, Filtering

What happens when your semantic search demo suddenly has to serve millions of queries a day without falling over? That is the moment teams start arguing about Milvus vs Qdrant. Both are open-source vector databases built to store embeddings and find “nearest neighbors” fast. Both are popular with teams building retrieval-augmented generation (RAG) pipelines, recommendation engines, and image search. But they are built on very different ideas about how much machinery a database should need.

This comparison walks through architecture, filtering, indexing, operations, and benchmarks, with an eye on what actually matters once you move past the tutorial stage.

The short version: two different design philosophies

Milvus is a distributed, cloud-native system. It splits work across separate components: a proxy, query nodes, data nodes, and index nodes. In cluster mode it leans on external services such as object storage (S3 or MinIO), a message queue (Pulsar or Kafka), and etcd. That is a lot of moving parts, and it is deliberate. The design lets Milvus scale horizontally in ways that resemble a traditional big-data stack.

Qdrant takes the opposite path. It ships as a single binary written in Rust. You can run it standalone on a laptop or a small VM, and when you need scale you switch on a distributed mode that uses Raft-based consensus to keep replicas in sync. Fewer components, fewer things to wire together.

Neither approach is wrong. The question is which one matches your team, your scale, and your tolerance for operational work.

Dimension Milvus Qdrant
Core language Go and C++ Rust
Architecture Distributed, multi-component Single binary; optional distributed mode
External dependencies (cluster) Object storage, message queue, etcd Minimal; Raft for consensus
License Apache 2.0 core Apache 2.0 core
Managed option Zilliz Cloud Qdrant Cloud
Typical sweet spot Very large scale, heavy ingestion Fast setup, filtered search, mid-size scale

Where each project came from

Where each project came from

Milvus was created at Zilliz and open-sourced in 2019. That head start matters: it has had more years to accumulate connectors, index types, and production war stories. Qdrant arrived in 2021, founded by Andre Zayarni and others, and open-sourced the same year. Being newer let it make different choices from day one, most visibly the Rust core and the single-binary packaging.

Both projects keep their core under the Apache 2.0 license, with commercial managed services on top. That is a common open-core pattern, and it means the free version is genuinely usable rather than a teaser.

Architecture: a fleet of services or one sturdy binary

Milvus behaves like a small distributed system even when you wish it would not. The separation of proxy, query, data, and index roles is what enables independent scaling. If queries are the bottleneck, you add query nodes. If ingestion lags, you add data nodes. For organizations already comfortable running Kubernetes, message queues, and object storage, this feels familiar.

For everyone else, it is a learning curve. A frequent practical mistake is spinning up the full Milvus cluster for a project that will hold a few hundred thousand vectors. The lightweight standalone deployment exists for exactly that reason, and starting there saves hours of YAML debugging. Move to the cluster only when a single machine genuinely cannot keep up.

Qdrant’s single binary is the easier first day. Download it, run it, point your client at it, done. Distributed mode adds complexity only when you ask for it. The trade-off is that extremely large deployments may need more manual planning around sharding than Milvus’s component model provides out of the box.

Indexing: breadth versus focus

Milvus offers a wide menu of index types: FLAT, IVF_FLAT, IVF_SQ8, IVF_PQ, HNSW, DiskANN, and GPU-accelerated indexes such as CAGRA, plus scalar and sparse indexes. That breadth is useful when your data has unusual shape or when you want to tune recall against memory and latency very precisely. If you are unfamiliar with these structures, a general overview of approximate nearest neighbor search methods explains how HNSW, IVF, and product quantization trade accuracy for speed.

Qdrant focuses on HNSW with quantization options: scalar, product, and binary. Fewer knobs, but the defaults are sensible, and quantization is well integrated for memory savings. Teams that want to squeeze a large collection onto modest hardware often find Qdrant’s quantization path straightforward.

A practical tip that applies to both: benchmark with your own vectors, not someone else’s. Recall and latency depend heavily on dimensionality, distribution, and filter selectivity. A configuration that shines on random data can disappoint on real embeddings.

Filtering: the feature that quietly decides projects

Most real applications search within a subset rather than over the full set. “Find similar products, but only in stock and under $50.” “Find similar tickets, but only from this customer.”

Qdrant is well known for payload filtering that is woven into HNSW traversal, so filters are applied during the graph walk rather than as an afterthought. In practice, this tends to keep results accurate and fast even when filters are selective.

Milvus supports scalar filtering and, in recent versions, partition-key and expression-based filtering. It has closed much of the gap, and for many workloads the difference is invisible. But filtering behavior is exactly the kind of detail that changes between releases, so check current documentation rather than trusting a blog post from two years ago, including this one. (Blog)

Hybrid search: dense plus sparse

Pure dense-vector search misses exact keyword matches. Hybrid search combines dense embeddings with sparse vectors (often BM25-style) to catch both meaning and exact terms. Both databases now support it. Milvus added sparse vectors and hybrid search around version 2.4 in 2024, and Qdrant introduced sparse vectors and hybrid query support around versions 1.7 to 1.8 in 2023 and 2024.

If hybrid retrieval is central to your product, verify the current API surface in each project’s docs. The feature exists in both, but the ergonomics differ, and ergonomics are what you will live with daily. For background on how these systems fit into broader infrastructure choices, the cloud section of 9481.org covers related deployment topics.

Benchmarks: read the fine print

VectorDBBench is a widely cited open benchmark for vector databases, and it is maintained by Zilliz, the company behind Milvus. That does not make its numbers wrong, but it does mean you should read results with the vendor relationship in mind. Independent head-to-head comparisons are scarce, partly because fair benchmarking is genuinely hard.

The honest guidance: treat published benchmarks as a starting filter, not a verdict. Reproduce a small version of the test on your own hardware with your own data before committing. Also watch for version drift. A result published for one release may not reflect the current one.

Operations, integrations, and developer experience

Both projects expose REST and gRPC APIs and integrate with LangChain and LlamaIndex, so framework support is rarely the deciding factor. Milvus offers the PyMilvus SDK and the Attu GUI for administration. Qdrant ships its own web UI. Both have managed offerings, Zilliz Cloud and Qdrant Cloud, if you would rather not run the infrastructure yourself. (Cloud)

Common mistakes worth avoiding:

  • Choosing based on a single benchmark chart instead of a two-day proof of concept.

  • Skipping quantization planning until memory bills arrive.

  • Ignoring filter selectivity when sizing hardware.

  • Assuming managed and self-hosted behave identically at the edges.

  • Forgetting to test backup and restore before production.

A useful habit is to skim release notes from both projects each quarter. The vector database field moves quickly, and features that were missing last year may be standard now. Project news pages are a reasonable place to track changes in the surrounding tools and integrations. (News)

Which one should you pick?

Choose Milvus if you expect very large collections, heavy ingestion, or a need to scale components independently, and if your team already runs Kubernetes and distributed infrastructure comfortably. Its breadth of index types and its big-data-style architecture reward teams with the operational muscle to use them.

Choose Qdrant if you want fast time-to-value, strong filtered search, a small operational footprint, and a single binary that behaves predictably from laptop to cluster. It suits mid-size deployments and teams that would rather tune their product than their database.

Plenty of teams land in the middle: start with Qdrant for speed, or Milvus standalone for its index variety, and revisit the decision when scale forces it. Migrating embeddings between systems is annoying but not catastrophic if you keep your source data and embedding pipeline clean.

Conclusion

Milvus and Qdrant are both serious, Apache-licensed vector databases with active development, hybrid search, and managed options. The real difference is philosophy. Milvus bets on distributed, component-based scale and a wide index menu. Qdrant bets on simplicity, a Rust core, and filtering that stays fast under pressure. Neither bet is universally right. Match the tool to your scale, your team’s operational comfort, and the queries your users actually run, then prove the choice with a small, honest benchmark of your own.

Frequently asked questions

Is Milvus or Qdrant faster?

It depends on the workload, data shape, and filter selectivity, so there is no universal winner. Published benchmarks such as VectorDBBench are maintained by a Milvus-affiliated organization, so treat them as one input among several and test with your own vectors before deciding.

Are Milvus and Qdrant free to use?

Both keep their core under the Apache 2.0 open-source license, so you can self-host them without paying for the database itself. Each also has a commercial managed service, Zilliz Cloud and Qdrant Cloud respectively, which adds cost but removes operational work.

Can Qdrant handle the same scale as Milvus?

Qdrant supports a distributed mode with Raft-based consensus, so it can scale well beyond a single machine. Milvus’s multi-component architecture is designed for very large deployments with independent scaling of query and data workloads. Which one fits depends on how far you need to go and how much operational complexity you can absorb.

Do both support hybrid search with sparse vectors?

Yes. Milvus added sparse vectors and hybrid search around version 2.4 in 2024, and Qdrant added sparse vector and hybrid query support around versions 1.7 to 1.8. Check current documentation, since APIs in this space evolve quickly.

Which is easier to run locally?

Qdrant is generally simpler to start because it ships as a single Rust binary with no external dependencies. Milvus offers a standalone deployment for local work, but its full cluster mode requires object storage, a message queue, and etcd, which is more setup.

What is the biggest mistake when choosing between them?

Picking based on a single benchmark chart or a blog post without running a proof of concept. Spend a couple of days loading your real embeddings, testing your real filters, and measuring recall and latency. That small investment usually settles the question faster than any comparison article can.

One final consideration: community and hiring. Both projects have active GitHub repositories, responsive maintainers, and growing ecosystems, but Milvus, backed by Zilliz and a larger contributor base, tends to have more third-party tutorials, integrations, and candidates who have touched it before. Qdrant’s community is smaller but notably engaged, and its documentation is frequently praised for clarity. If your team will lean on external help or plan to hire vector-database specialists, that difference in mindshare is worth weighing alongside the technical merits. Neither community is a risk; they simply differ in size and momentum. Whichever you choose, pin your version, document your index and quantization choices, and keep your embedding pipeline reproducible. Those habits matter more than the logo on the database, and they make any future migration far less painful than it needs to be. (Vector database)

Latest articles

Scroll to Top