Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using faiss in distributed mode. #1037

Closed
alirahm2 opened this issue Nov 22, 2019 · 6 comments
Closed

Using faiss in distributed mode. #1037

alirahm2 opened this issue Nov 22, 2019 · 6 comments
Labels

Comments

@alirahm2
Copy link

alirahm2 commented Nov 22, 2019

Hello guys. Before everything, I need to appreciate you for your brilliant library.

We have millions of pictures, and we are trying to design a distributed system based on Faiss. I am just wondering if there is a way that we could partition and split out our index between multi machines and speared our search requests on them.

If so, I would be grateful if you share a best practice architecture with me

@mdouze
Copy link
Contributor

mdouze commented Nov 27, 2019

There is a very simple implementation of a distributed index here: https://github.com/facebookresearch/faiss/tree/master/benchs/distributed_ondisk
Note that the distribution is over inverted lists, the dataset is not sharded.

@alirahm2
Copy link
Author

@mdouze Thanks for your answer. Is there a way that we could shared the data store as well. I mean is there a way that we could design a distributed sharded system with Faiss. something like ElasticSearch. Is there a best practice in this case?

@JinHai-CN
Copy link
Contributor

@alirahm2 Hey, we are developing a vector searching engine: Milvus(https://github.com/milvus-io/milvus), which has distributed solution: mishards. You may check it out.

@alirahm2
Copy link
Author

alirahm2 commented Dec 4, 2019

@JinHai-CN thanks for your reply. Unfortunately, I could not find a resource regarding the mishards in your repo/doc. Could you please give me more context on it. Thank you

@mdouze
Copy link
Contributor

mdouze commented Jan 6, 2020

No activity, closing.

@mdouze mdouze closed this as completed Jan 6, 2020
@nlp4whp
Copy link

nlp4whp commented Mar 4, 2020

@JinHai-CN thanks for your reply. Unfortunately, I could not find a resource regarding the mishards in your repo/doc. Could you please give me more context on it. Thank you

here:
https://github.com/milvus-io/milvus/blob/master/shards/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants