Vector database sharding
Multimodal search
JaguarDB quantization
JaguarDB Vector API
Best Vector databases
JaguarDB in Docker
Setup JaguarDB with tar package
Setup JaguarDB on multiple nodes
Vector index sharing
How zeromove works
Video introduction
|
|
Example: ZeroMove Scaling
As data sizes continue to grow, the need to expand a Jaguar cluster arises, whether to accommodate more data or enhance overall cluster performance. Expanding or scaling out a Jaguar cluster is a straightforward process that involves just a few simple steps. Unlike other distributed databases that necessitate the time-consuming migration of data from old servers to new ones, which can take hours or even days, Jaguar's scaling process is instant and demands no data migration among servers. Throughout the scaling process, the Jaguar cluster operates seamlessly, ensuring uninterrupted functionality before and after the expansion.
In the following, we demonstrate how to seamless scale Jaguar distributed vector database. Suppose there are five nodes in current cluster:
- 192.168.3.101
- 192.168.3.102
- 192.168.3.103
- 192.168.3.104
- 192.168.3.105
Now five more nodes will be added to the system to scale out the system:
- 192.168.3.106
- 192.168.3.107
- 192.168.3.108
- 192.168.3.109
- 192.168.3.110
Below are the three simple steps to include the five new nodes to the system:
- Setup new cluster: set up five new nodes as you initially set up a new Jaguar cluster. This process involves installing Jaguar software on each of the five nodes, and sharing the same conf/cluster.conf file which should contain IP addresses 192.168.3.106, 192.168.3.107, 192.168.3.108, 192.168.3.109, and 192.168.3.110, one IP address per line. Ths cluster should be started before proceedng to the next step.
- Prepare file newcluster.conf file: copy the file conf/cluster.conf from node 192.168.3.106 to node 192.168.3.101 in the same directory but with a name newcluster.conf. As a result, on node 192.168.3.101, file $JAGUAR_HOME/conf/newcluster.conf should contain IP addresses 192.168.3.106, 192.168.3.107, 192.168.3.108, 192.168.3.109, and 192.168.3.110, one IP address per line. $JAGUAR_HOME represents the directory where Jaguar is installed.
- Incororate the new cluster: on node 192.168.3.101, execute the following command:
$JAGUAR_HOME/bin/jag -u admin -p -x yes -h 127.0.0.1:8888 jaguar> addcluster;
The addcluster command will take approximately one second to finish. All the five new nodes will be instantly incorporated into the system.
|