hugegraph-benchmark performance 测试报告里面的 社区发现算法是怎么实现的
Expected behavior 期望表现
图综合性能测试-CW 是怎么实现的,是rest api吗
Actual behavior 实际表现
{type something here...}
Steps to reproduce the problem 复现步骤
- {step 1}
- {step 2}
- {step 3}
Status of loaded data 数据状态
Vertex/Edge summary 数据量
- loaded vertices amount: {like 10 million}
- loaded edges amount: {like 20 million}
- loaded time: {like 200s}
Vertex/Edge example 数据示例
{type something here...}
Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构
{type something here...}
Specifications of environment 环境信息
- hugegraph version: {like v0.7.4}
- operating system: {like centos 7.4, 32 CPUs, 64G RAM}
- hugegraph backend: {like cassandra 3.10, cluster with 20 nodes, 3 x 1TB HDD disk each node}
@fisherinbox hi,hugegraph-benchmark社区发现使用的是Louvain算法。
@fisherinbox hi,hugegraph-benchmark社区发现使用的是Louvain算法。
感谢,具体怎么与hugegraph结合的,有源代码吗
@fisherinbox graphdb-benchmark是一个开源的图数据库性能评估benchmark。
我们fork了其代码,并对hugegraph进行了适配,仓库位置: https://github.com/hugegraph/graphdb-benchmarks
在graphdb-benchmark中,Louvain社区发现算法的实现是在图数据库之外的,通过与图数据库进行交互实现。而非图数据库提供一个RESTful API。
@zhoney
使用 https://github.com/hugegraph/graphdb-benchmarks
重现了一下 hugegraph 的性能测试,只做了基于 hugegraphclient 的,运行 run.sh 报错:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running eu.socialsensor.main.GraphDatabaseBenchmarkTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/my_name/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.1/log4j-slf4j-impl-2.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/my_name/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
2019-04-17 21:11:30 1632 [main] [INFO ] eu.socialsensor.main.GraphDatabaseBenchmark [] - Massive Insertion Benchmark Selected
2019-04-17 21:11:30 1635 [main] [INFO ] eu.socialsensor.benchmarks.PermutingBenchmarkBase [] - Executing Massive Insertion Benchmark . . . .
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.061 sec <<< FAILURE! - in eu.socialsensor.main.GraphDatabaseBenchmarkTest
testGraphDatabaseBenchmark(eu.socialsensor.main.GraphDatabaseBenchmarkTest) Time elapsed: 2.06 sec <<< ERROR!
java.lang.NoSuchMethodError: com.baidu.hugegraph.api.API.<init>(Lcom/baidu/hugegraph/client/RestClient;)V
at com.baidu.hugegraph.api.version.VersionAPI.<init>(VersionAPI.java:31)
at com.baidu.hugegraph.driver.VersionManager.<init>(VersionManager.java:31)
at com.baidu.hugegraph.driver.HugeClient.initManagers(HugeClient.java:83)
at com.baidu.hugegraph.driver.HugeClient.<init>(HugeClient.java:59)
at eu.socialsensor.graphdatabases.HugeGraphDatabase.buildGraphEnv(HugeGraphDatabase.java:191)
at eu.socialsensor.graphdatabases.HugeGraphDatabase.createGraphForMassiveLoad(HugeGraphDatabase.java:145)
at eu.socialsensor.benchmarks.MassiveInsertionBenchmark.benchmarkOne(MassiveInsertionBenchmark.java:41)
at eu.socialsensor.benchmarks.PermutingBenchmarkBase.startBenchmarkInternalOnePermutation(PermutingBenchmarkBase.java:68)
at eu.socialsensor.benchmarks.PermutingBenchmarkBase.startBenchmarkInternal(PermutingBenchmarkBase.java:57)
at eu.socialsensor.benchmarks.BenchmarkBase.startBenchmark(BenchmarkBase.java:35)
at eu.socialsensor.main.GraphDatabaseBenchmark.runBenchmark(GraphDatabaseBenchmark.java:136)
at eu.socialsensor.main.GraphDatabaseBenchmark.run(GraphDatabaseBenchmark.java:101)
at eu.socialsensor.main.GraphDatabaseBenchmarkTest.testGraphDatabaseBenchmark(GraphDatabaseBenchmarkTest.java:14)
Results :
Tests in error:
GraphDatabaseBenchmarkTest.testGraphDatabaseBenchmark:14 » NoSuchMethod com.ba...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
直接使用 hugegraphcore 模式可以。
Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label