图数据库对比·201808

本文探讨了图数据库的优缺点,特别是Neo4j的数据量限制,以及其社区版不支持分布式的事实。文章提到了JanusGraph和HugeGraph,后者是具有中文文档的国内数据库。尽管JanusGraph与Spark的集成资料有限,但可以将数据加载为GraphX对象进行处理。JanusGraph和Neo4j的边是具有属性的对象,而Trinity的边作为Node属性存在。
摘要由CSDN通过智能技术生成

图数据库Benchmark. https://github.com/socialsensor/graphdb-benchmarks

Benchmark: PostgreSQL, MongoDB, Neo4j, OrientDB and ArangoDB. https://www.arangodb.com/2015/10/benchmark-postgresql-mongodb-arangodb/ 可以参考这篇文章看测试哪些项目。

 

 

 

Neo4j  in this article is specified to Community Neo4j.  

 

 

 

 

 

  • Disadvantages
    • Data Volumn
      • The biggest disadvantage of Neo4j is the data Volumn it can supported. For Community Neo4j doesn't support Distrbution, but Enterprise one does.To achieve High Avalable goal, users need to implement distribution by their selfs.
  • Advantages
    • Multiple Labels
      • An Entity supports multiple labels(types), which is very suitable for our geo data.
    • Visualization

 

任务困难

资料欠缺

 

JanusGraph 和 HugeGraph之间的比较


HugeGraph

  • Domestic database with chinese documents
  •  

 

JanusGraph
janusgraph-spark

      没有任何成系统的资料。
      早期Spark一共有四个模块:(1)核心(2)Sql(3)流处理Spark Stream(4)图计算模块GraphX
     I haven't found any  useful things to talk about 'Spark Janusgraph' on the top 2 pages of Google and JanusGraph official docs, except some articles about connecting the two on google.
   Though throuh my using experience on GraphX,   we can infer that  Spark can load data from JanusGraph as a Graph[Vertex,Edge] object which is a datastruct provided by GraphX.  It is also the way HugeGraph used to deal with the data of JanusGraph. Then a graph object can be parsed into VertexRDD and EdgeRDD,  Spark Sql and Spark Stream can deal with RDD. 

 

gremlin> graph = GraphFactory.open('conf/hadoop-graph/read-cassandra.properties')
gremlin> g = graph.traversal().withComputer(SparkGraphComputer)
gremlin> g.V().count()

从stackoverflow上的代码来看, 是把spark作为一个 计算器 配置到JanusGraph里, 是JanusGraph有选择的依赖Spark的关系。  

 

 

 

Comparison
Name Trinity(Graph Engine) Neo4j Community OrientDB JanusGraph HugeGraph
Documention very few abundant abundant few  
Distribution Support yes no   yes yes
Visualization Tool no yes yes no yes
Popularity Ranking 16 1 4 11  
Server operating systems Linux
Windows
Linux
OS X
Solaris
Windows
All OS with a Java JDK (>= JDK 6) Linux<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值