You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example: aerolab client create graph -n bob -c 5 -C mycluster -m test.
This will work on GCP/AWS/Docker backends. The docker backend is a bit special as it cannot use the actual implementation of AeroLab's docker backend since it needs to launch a specific docker container. On AWS/GCP it installs and runs the docker container.
Other features will include:
-e | --extra allowing to provide extra properties configuration parameters, for example aerolab client create graph ... -e aerospike.client.timeout=2000 -e ...
--rm-mb allowing to limit RAM use. Default for docker backend is 4GB and for AWS/GCP it's 90% of total system memory
This satisfies points 1, 3 and 4. With option 4, you essentially deploy a node group of graph 'clients' to the aerospike server cluster. Installing graph on actual aerospike server nodes is not recommended as extra consideration to sizing and RAM utilization of both aerospike and graph would have to be taken into account, as well as possible delays caused by CPU load in either software.
I am going to reject point 2 - proxy. As TinkerPop/Gremlin uses WebSocket, a stateful WS load balancer is required, or an Application Load Balancer from AWS/GCP can be used when in cloud. An LB makes no sense in local docker backend. An LB is not recommended by the Gremlin team as it creates a single point of failure and possible network bottleneck on the load balancing proxy, as all traffic has to go through it.
If you need a load balancer, this can be easily achieved in a script. You would:
deploy aerospike cluster
deploy graph client instance group
run aerolab client list -i to get a list of clients and their IPs in a nicely 'greppable' way
create an nginxscript.sh that installs nginx and configures it to be a proxy with details from the above point 3
use for example aerolab client create none -n proxy; aerolab files upload -n proxy nginxscript.sh /tmp/install.sh; aerolab attach client -n proxy -- bash /tmp/install.sh to create a client named 'proxy' and run the script on it.
Add option in Aerolab to deploy AGS (Aerospike Graph Service) using Aerolab. Following are the requirements
Current product installation instructions
https://aerospike.com/docs/graph/getting-started/installation
The text was updated successfully, but these errors were encountered: