Can same indexed segments be searched by multiple nodes? #6104
Replies: 3 comments 3 replies
-
If you use Mishards, same segment cannot be searched by multiple nodes.
The main purpose of Mishards is to handle huge dataset with lot of segments, each read node will take one part of each search request. |
Beta Was this translation helpful? Give feedback.
-
You also can create a service(by python or go, etc) to re-direct search request to multiple read nodes. Firstly deploy a write node and multiple read nodes by docker-composer or k8s, all clients connect to the service, the service forward insert/delete request to write node, search request to read node, one search request to one node. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your replies. I'm using Mishards on AWS, and made some microservices for serving over 100M datasets. (Backup, Indexing pipeline, divide two clusters for short-term and long-term, ... ) By doing theses things, I could make service which can handle lot of datasets, it cannot handle heavy traffics like 1k requests/second. For static data, (== indexed segments) I hope that Mishards have an option to distribute same segments to multiple nodes for better throughput. I hope to use Mishards for real-time services that are frequently called. (And I think many other Mishards users want it too.) Could you consider adding a feature in the next version? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi milvus team. For better throughput, can same indexed segments be searched by multiple nodes?
We use milvus v1.1.1 on cluster mode with several read-only nodes.
Currently I'm doing stress test, I found that an indexed (or not) segment is searched by only one specific node.
(I did ssh connect to read-only nodes, and then tail logs...)
In my current setting, I think that milvus cannot distribute same indexed segments to multiple node. ( and duplicate same segment on a single node for better throughput )
Is that right? or am I missing something? If not, I hope this feature will be added in the next version.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions