Syncing Qdrant with another Qdrant #4622
-
I want to run 2 standalone qdrant instance that can sync each other (i.e. cross cluster replication). For example when I delete entity from qdrant instance1 that instance will delete from instance2 (update, insert, delete). Is there any way that I can do that ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Yes! Please see our documentation on this here: https://qdrant.tech/documentation/guides/distributed_deployment/ More specifically, see this section describing: 1. enabling cluster mode. 2. starting the first node. 3. bootstrapping other nodes. Once you've set up a cluster you can send operations to any node. They'll be synced across the cluster. Note that if you want to prevent downtime if one of the nodes is down, you should ideally have at least 3 nodes. That is because there should be a majority if nodes, which would not be possible with 1 alive + 1 dead node. In that case, also make sure you have at least a replication factor of 2. |
Beta Was this translation helpful? Give feedback.
Yes! Please see our documentation on this here: https://qdrant.tech/documentation/guides/distributed_deployment/
More specifically, see this section describing: 1. enabling cluster mode. 2. starting the first node. 3. bootstrapping other nodes.
Once you've set up a cluster you can send operations to any node. They'll be synced across the cluster.
Note that if you want to prevent downtime if one of the nodes is down, you should ideally have at least 3 nodes. That is because there should be a majority if nodes, which would not be possible with 1 alive + 1 dead node. In that case, also make sure you have at least a replication factor of 2.