milvus-io/milvus

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

What it solves

Milvus 是一個高效能向量資料庫,旨在組織與搜尋大量非結構化資料,如文字、影像與多模態資訊。它解決了 AI 應用中向量搜尋的擴展挑戰,讓開發者能以高可用性處理數十億向量與數萬筆查詢。

How it works

Milvus 使用 Go 與 C++ 撰寫,採用分散式、K8s 原生的架構,將計算與儲存分離。這使得它能透過獨立增加查詢節點(讀取)或資料節點(寫入)來水平擴展。它支援多種向量索引類型(如 HNSW、IVF、DiskANN),並利用 CPU 與 GPU 的硬體加速來最佳化搜尋效能。此外,Milvus 也支援混合搜尋方式,結合用於語意搜尋的密集向量與用於全文搜尋的稀疏向量(BM25)。

Who it’s for

此產品為 AI 開發者與企業打造,適用於建立關鍵任務的應用,例如檢索增強生成(RAG)系統、影像與文字搜尋引擎,以及推薦系統。

Highlights

  • Distributed Scalability: Separates compute and storage to scale horizontally on Kubernetes.
  • Hardware Acceleration: Implements CPU/GPU acceleration for best-in-class search performance.
  • Hybrid Search: Natively supports both dense and sparse vectors for combined semantic and full-text search.
  • Flexible Storage: Features hot/cold storage mechanisms to balance performance and cost.
  • Enterprise Security: Includes mandatory authentication, TLS encryption, and Role-Based Access Control (RBAC).