Yugabyte Integrated Graph Database Janusgraph, the principle is simple is yugabyte built-in Cassandra, configuration good janusgraph
Access to it.
Deploying using Docker Mode
Create a yugabyte cluster (Docker CLI)
- Download Deployment Tools
mkdir ~/yugabyte && cd ~/yugabytewget https://downloads.yugabyte.com/yb-docker-ctl && chmod +x yb-docker-ctl
./yb-docker-ctl create
Configure Janusgraph
wget https://github.com/JanusGraph/janusgraph/releases/download/v0.2.0/janusgraph-0.2.0-hadoop2.zipunzip janusgraph-0.2.0-hadoop2.zipcd janusgraph-0.2.0-hadoop2
./bin/gremlin.shgraph = JanusGraphFactory.open(‘conf/janusgraph-cql.properties‘)
加载测试数据GraphOfTheGodsFactory.loadWithoutMixedIndex(graph,true)g = graph.traversal()简单查询g.V(saturn).in(‘father‘).in(‘father‘).values(‘name‘)
Description
It is convenient to use yugabyte built-in Cassandra for application development, and we do not have to pay much attention to Cassandra deployment installation, Yugabyte deployment is more convenient.
Resources
https://docs.yugabyte.com/latest/develop/ecosystem-integrations/janusgraph/
https://docs.yugabyte.com/latest/quick-start/install/#docker
Yugabyte Integrated Janusgraph Test