← Back to Leaderboard
Mmilvus-io

milvus-io/milvus

Distributed vector database for filtered and hybrid retrieval at scale

Engineering Health (Methodology)
A+ · 98/100
Maintenance Activity
● Updated today
Latest Release
v3.0.7
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption23/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedGPU
Total Stars
★ 46,776
24h Growth
+5
7d Growth
+56
Forks
4,351

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

milvus-io/milvus Star History (2020-01-12 - 2026-12-01) ALL-TIME STAR HISTORY (2020-01 – 2026-12) +44.5k in 2515d · avg +18/day 49.3k 24.6k 0 2020-01-12: ★ 2,2542020-06-13: ★ 3,1352020-11-14: ★ 4,0282021-04-17: ★ 5,0402021-09-18: ★ 7,2872022-02-19: ★ 8,8752022-07-23: ★ 10,7092022-12-24: ★ 13,1692023-05-27: ★ 17,5012023-10-28: ★ 22,1022024-03-30: ★ 25,3372024-08-31: ★ 28,2812025-02-01: ★ 31,3372025-07-05: ★ 35,1192025-12-06: ★ 40,8512026-05-09: ★ 43,8182026-12-01: ★ 46,776 ★ 46.8k 2020-01 2023-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Milvus uses Go for the database system and C++ in its vector-search stack, with CPU and GPU acceleration. In distributed mode, it separates compute from storage and lets query and data nodes scale independently. Streaming updates keep the searchable corpus current, and query replicas load segments on multiple nodes to improve read throughput and fault tolerance.

With Python’s pymilvus, the application defines a collection, inserts vectors alongside scalar or JSON fields, and submits one or more query vectors to MilvusClient.search. The caller selects the top-k limit and fields to return. The Go manifest includes grpc-ecosystem/go-grpc-middleware and storage clients for MinIO and Azure Blob; those dependencies are not, by themselves, a list of required services for every deployment.

Key Capabilities & Differentiators

Milvus supports exact search with FLAT and several approximate index families, including HNSW, IVF, SCANN, and DiskANN. Quantized variants such as IVFPQ and options such as mmap give operators different ways to balance recall, memory use, and storage access. Use FLAT on a representative evaluation set to establish a recall baseline before selecting an approximate index.

Retrieval can combine dense and sparse vectors, full-text search, and scalar or JSON metadata filters. Multiple vector fields support multimodal retrieval, while integrations with LangChain and LlamaIndex connect Milvus to RAG pipelines. pymilvus[model] offers embedding and reranking utilities; the data and query encoding choices still belong to the application.

Trade-offs & Limitations

Milvus makes the strongest case when retrieval needs its own scaling, index tuning, or availability policy. An in-process index avoids operating a separate service for a single application; keeping vector retrieval in an existing database may be simpler when search volume is modest and operational consolidation matters more than independent scaling. Distributed Milvus is worth the additional coordination, monitoring, and capacity planning only if the workload benefits from it.

Benchmark with production-like filter selectivity and concurrent writes, not just an unfiltered search test. Compare recall, tail latency, and resource use across index settings: quantization can reduce index memory at a recall cost, disk-backed access can put pressure on storage I/O, and replicas add capacity overhead. GPU support is a tuning option, not a deployment prerequisite.

Hardware & Deployment Guide

Use Milvus Lite via pymilvus[milvus-lite] for a local file-backed prototype, Docker Standalone for a single-host service, or distributed Kubernetes when components need independent scaling and replica-based availability. Zilliz Cloud is the managed route. The root docker-compose.yml excerpt defines a builder using build/docker/builder/cpu/${OS_NAME}/Dockerfile; use the Standalone installation instructions rather than treating that builder as a production server recipe.

Source builds involve Go, CMake, a native C/C++ toolchain, and Python. The supplied go.mod specifies Go 1.26.11, while the generic build guide lists Go 1.21 as the minimum; check the target revision before provisioning build workers. The release list shows server v3.0.7 without detailed notes. The Go SDK client/v3.0.1 targets server 3.0.1, adds element-level nullability and nested array support, and does not guarantee compatibility with 2.6 servers.

Workload isolation: Scale query and data nodes independently as read and ingestion demand diverge.
Replica behavior: Load segments on multiple query nodes to improve read throughput and fault tolerance.
Index selection: Compare exact FLAT with HNSW, IVF, SCANN, and DiskANN; evaluate IVFPQ and mmap for memory-sensitive workloads.
Hybrid retrieval: Combine dense and sparse search, full-text search, and scalar or JSON metadata filters.
Python integration: Use pymilvus with a local Lite database file or a remote server endpoint.
Operational tooling: Use Attu for administration, Birdwatcher for debugging, and Prometheus/Grafana for monitoring.
Best For

Production RAG, multimodal search, or recommendations where a shared, frequently updated corpus needs metadata filtering, hybrid retrieval, and independent scaling.

Skip If

A small, static corpus fits in one application or your existing database meets the retrieval target without a separate service.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodologyReport inaccuracy

Quick Start & Installation

DockerSelf-HostedGPU
$ pip install -U pymilvus

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
milvus ★46.8k+56GoApache-2.0Distributed vector database for filtered and hybrid retrieval at scale
weaviate17k+19Go—Go vector database for filtered hybrid retrieval in production RAG stacks
qdrant35.8k+126RustApache-2.0Rust vector database for filtered and hybrid RAG retrieval
firecrawl214.1k+5kTypeScriptAGPL-3.0Local and hosted web ingestion that turns sites into RAG-ready Markdown

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/milvus-io/milvus.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

milvus-io/milvus Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about milvus

Where does Milvus sit in a RAG pipeline?

Define a collection whose vector dimension matches your embedding model. Ingest vectors with the text and metadata you need, encode queries with a compatible model, then call MilvusClient.search with a top-k limit and the desired output fields. Milvus handles retrieval; document preparation, embedding, and answer generation remain pipeline decisions.

Do I need a GPU, and how should I size it?

No. Start with a CPU baseline, then evaluate GPU acceleration if it addresses a measured bottleneck. Size the system using your vector count and dimensions, index type, replica count, and concurrent ingestion and search. Compare recall and tail latency while measuring RAM, storage I/O, and VRAM if testing a GPU. There is no universal VRAM requirement.

Can I self-host Milvus for commercial or regulated workloads?

Milvus is Apache-2.0 licensed and can be self-hosted for commercial use without subscribing to Zilliz Cloud. If you redistribute it, review the applicable license and notice obligations. Self-hosting gives you control of the database deployment, but compliance also depends on where embeddings are generated, who can access the data, and how backups are handled.

How should I compare Milvus with simpler alternatives?

Compare against an in-process vector index if one application owns the corpus and does not need an independently operated retrieval service. Compare against vector search in your existing database if consolidating application data and retrieval matters more than scaling retrieval independently. Use the same corpus and filters to compare recall, tail latency, and operational effort before adding a dedicated service.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining milvus-io/milvus? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature milvus-io/milvus on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare