Algorithms for HDC and distributed versions are managed differently, resulting in distinct installation methods.
HDC algorithms are provided as hot-pluggable plugins, enabling installation, update, and removal without causing server downtime. Each package includes a .so file and a .yml configuration file, requiring independent installations on each HDC server.
You can install HDC algorithms in different ways:
To view the algorithms installed on an HDC server like hdc-server-1:
SHOW HDC ALGO ON "hdc-server-1"
The returns include the _algoList table, which lists all algorithms installed on the specified HDC server. It includes the following fields:
Field | Description |
|---|---|
name | Name of the algorithm. |
type | Type of the algorithm, which can be algo or specific system algorithms like pathfind and khop. System algorithms come pre-installed on the HDC server, enabling essential graph queries and other functions. |
write_support_type | Supported writeback execution modes. |
can_rollback | Indicates true for algorithms with updates that allow rollback. |
params | Includes parameters, write_to_file_parameters and write_to_db_parameters. |
Distributed algorithms in Ultipa Powerhouse (v5) come pre-installed as part of the deployment package, so no additional installation is needed. These algorithms are readily available for use without further setup.