Go to file
quicksilver 8912fe5c24
[skip ci] Optimize publish image workflow (#5831)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-06-17 15:31:58 +08:00
.github Update Mergify 2021-06-16 22:59:10 +08:00
build [skip ci] Optimize publish image workflow (#5831) 2021-06-17 15:31:58 +08:00
cmd Add context usage and fix defer issue (#5796) 2021-06-16 18:35:59 +08:00
configs Add vChannels in proxy for query results (#5802) 2021-06-16 20:15:59 +08:00
deployments Support ETCD endpoints array (#5755) 2021-06-15 16:36:36 +08:00
docs Add vChannels in proxy for query results (#5802) 2021-06-16 20:15:59 +08:00
githooks Update OWNERS 2021-05-30 18:58:47 +08:00
internal add default time tick (#5827) 2021-06-17 14:57:57 +08:00
scripts [skip ci] Remove ProxyService (#5738) 2021-06-15 16:36:35 +08:00
tests Add test_load_collection_without_flush (#5818) 2021-06-17 15:19:57 +08:00
tests20 add query test cases (#5825) 2021-06-17 13:43:57 +08:00
tools Rename module (#4988) 2021-04-22 14:45:57 +08:00
.clang-format Refactor cmake and build script and add timed benchmark 2020-10-23 18:01:24 +08:00
.clang-tidy Update registerNode in indexservice 2021-01-20 10:15:43 +08:00
.clang-tidy-ignore Add cpplint and optimize the check of c++ code 2020-11-23 19:57:05 +08:00
.devcontainer.json Rename module (#4988) 2021-04-22 14:45:57 +08:00
.env Support ETCD endpoints array (#5755) 2021-06-15 16:36:36 +08:00
.gitignore Add dablooms (#5440) 2021-05-28 10:23:30 +08:00
.golangci.yml Change Id to ID in go files according to golint check 2020-11-13 15:17:18 +08:00
CHANGELOG.md Update README 2021-04-21 14:04:22 +08:00
CODE_OF_CONDUCT.md Update README 2021-04-21 14:04:22 +08:00
COMMUNITY.md Update README 2021-04-21 14:04:22 +08:00
CONTRIBUTING.md Update README 2021-04-21 14:04:22 +08:00
DESIGN.md Update README 2021-04-21 14:04:22 +08:00
docker-compose.yml Support ETCD endpoints array (#5755) 2021-06-15 16:36:36 +08:00
go.mod Update grpc trace (#5817) 2021-06-17 14:17:56 +08:00
go.sum Update grpc trace (#5817) 2021-06-17 14:17:56 +08:00
INSTALL.md Update README 2021-04-21 14:04:22 +08:00
LICENSE Update README 2021-04-21 14:04:22 +08:00
Makefile [skip ci] Remove ProxyService (#5738) 2021-06-15 16:36:35 +08:00
NOTICE.md Update README 2021-04-21 14:04:22 +08:00
OWNERS Add OWNERS file 2021-06-15 15:59:04 +08:00
README_CN.md [skip ci] fix badge (#5479) 2021-05-28 15:16:42 +08:00
README.md [skip ci] update readme (#5811) 2021-06-16 22:59:10 +08:00
RELEASE.md Update README 2021-04-21 14:04:22 +08:00
ruleguard.rules.go Add DataNode package 2021-01-19 11:37:16 +08:00
SECURITY.md Update README 2021-04-21 14:04:22 +08:00
SUPPORT.md Update README 2021-04-21 14:04:22 +08:00

milvus banner

What is Milvus?

Milvus is an open-source vector database built to power AI applications and embedding similarity search. Milvus makes unstructured data search more accessible, and provides a consistent user experience regardless of the deployment environment.

Both Milvus Standalone and Milvus Cluster are available.

Milvus was released under the open-source Apache License 2.0 in October 2019. It is currently a graduate project under LF AI & Data Foundation.

Key features

Millisecond search on trillion vector datasets

Average latency measured in milliseconds on trillion vector datasets.

Simplified unstructured data management

  • Rich APIs designed for data science workflows.

  • Consistent user experience across laptop, local cluster, and cloud.

  • Embed real-time search and analytics into virtually any application.

Reliable, always on vector database

Milvus built-in replication and failover/failback features ensure data and applications can maintain business continuity in the event of a disruption.

Highly scalable and elastic

Component-level scalability makes it possible to scale up and down on demand. Milvus can autoscale at a component level according to the load type, making resource scheduling much more efficient.

In addition to vectors, Milvus supports data types such as Boolean, integers, floating-point numbers, and more. A collection in Milvus can hold multiple fields for accommodating different data features or properties. By complementing scalar filtering to vector similarity search, Milvus makes modern search much more flexible than ever.

Unified Lambda structure

Milvus combines stream and batch processing for data storage to balance timeliness and efficiency. Its unified interface makes vector similarity search a breeze.

Community supported, industry recognized

With over 1,000 enterprise users, 6,000+ stars on GitHub, and an active open-source community, youre not alone when you use Milvus. As a graduate project under the LF AI & Data Foundation, Milvus has institutional support.

Important

The master branch is for the development of Milvus v2.0. On March 9th, 2021, we released Milvus v1.0, the first stable version of Milvus with long-term support. To use Milvus v1.0, switch to branch 1.0.

Installation

Install Milvus Standalone

Install with Docker-Compose

$ cd milvus/deployments/docker/standalone
$ sudo docker-compose up -d

Install with Helm

$ helm install -n milvus --set image.all.repository=registry.zilliz.com/milvus/milvus --set image.all.tag=master-latest milvus milvus-helm-charts/charts/milvus-ha

Install Milvus Cluster

Install with Docker-Compose

$ cd milvus/deployments/docker/distributed
$ sudo docker-compose up -d

Install with Helm

$ helm install -n milvus --set image.all.repository=registry.zilliz.com/milvus/milvus --set image.all.tag=master-latest --set standalone.enabled=false milvus milvus-helm-charts/charts/milvus-ha

Make Milvus

You can also build Milvus from source code.

Prerequisites

Install the following before building Milvus from source code.

  • Git for version control.
  • Golang version 1.15 or higher and associated toolkits.
  • CMake version 3.14 or higher for compilation.
  • OpenBLAS (Basic Linear Algebra Subprograms) library version 0.3.9 or higher for matrix operations.

Make Milvus Standalone

# Clone github repository
$ cd /home/$USER/
$ git clone https://github.com/milvus-io/milvus.git

# Install third-party dependencies
$ cd /home/$USER/milvus/
$ ./scripts/install_deps.sh

# Compile Milvus standalone
$ make standalone

Make Milvus Cluster

# Clone github repository
$ cd /home/$USER
$ git clone https://github.com/milvus-io/milvus.git

# Install third-party dependencies
$ cd milvus
$ ./scripts/install_deps.sh

# Compile Milvus Cluster
$ make milvus

Milvus 2.0 is better than Milvus 1.x

Milvus 1.x Milvus 2.0
Architecture Shared storage Cloud native
Scalability 1 - 32 read-only nodes with only one write node. 500+ nodes
Durability Local diskNetwork file system (NFS) Object storage service (OSS)Distributed file system (DFS)
Availability 99% 99.9%
Data consistency Eventual consistency Three levels of consistency: StrongSessionConsistent prefix
Data types supported Vectors VectorsFixed-length scalars String and text (in planning)
Basic operations supported Data insertionData deletionApproximate nearest neighbor (ANN) Search Data insertionData deletion (in planning)Data queryApproximate nearest neighbor (ANN) SearchRecurrent neural network (RNN) search (in planning)
Advanced features MishardsMilvus DM Scalar filteringTime TravelMulti-site deployment and multi-cloud integrationData management tools
Index types and libraries FaissAnnoyHnswlibRNSG FaissAnnoyHnswlibRNSGScaNN (in planning)On-disk index (in planning)
SDKs PythonJava,GoRESTfulC++ PythonGo (in planning)RESTful (in planning)C++ (in planning)
Release status Long-term support (LTS) Release candidate. A stable version will be released in August.

Getting Started

Demos

Image search Chatbots Chemical structure search
  • Image Search

    Images made searchable. Instantaneously return the most similar images from a massive database.

  • Chatbots

    Interactive digital customer service that saves users time and businesses money.

  • Chemical Structure Search

    Blazing fast similarity search, substructure search, or superstructure search for a specified molecule.

Bootcamps

Milvus bootcamp are designed to expose users to both the simplicity and depth of the vector database. Discover how to run benchmark tests as well as build similarity search applications spanning chatbots, recommendation systems, reverse image search, molecular search, and much more.

Contributing

Contributions to Milvus are welcome from everyone. See Guidelines for Contributing for details on submitting patches and the contribution workflow. See our community repository to learn about our governance and access more community resources.

Documentation

SDK

The implemented SDK and its API documentation are listed below:

Community

Join the Milvus community on Slack to share your suggestions, advice, and questions with our engineering team.

Miluvs Slack Channel

You can also check out our FAQ page to discover solutions or answers to your issues or questions.

Subscribe to our mailing lists:

Follow us on social media:

Join Us

Zilliz, the company behind Milvus, is actively hiring full-stack developers and solution engineers to build the next-generation open-source data fabric.

Acknowledgments

Milvus adopts dependencies from the following:

  • Thank FAISS for the excellent search library.
  • Thank etcd for providing some great open-source tools.
  • Thank Pulsar for its great distributed information pub/sub platform.
  • Thank RocksDB for the powerful storage engines.