Skip to content

Benchmarking various graph databases, engines, datastructures, and data stores.

Notifications You must be signed in to change notification settings

Auguraculums/graphdb-testing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Package Testing

A Performance Evaluation of Open Source Graph Databases Robert McColl David Ediger Jason Poovey Dan Campbell David A. Bader Georgia Institute of Technology

The goal of this project is to benchmark various graph databases, engines, datastructures, and data stores. The packages below will be measured in terms of performance on these graph algorithms which are all fairly basic and cover a reasonable range of styles (data structure modification, breadth first traversal, edge-parallel, and bulk-synchronous parallel).

  • Insertion / deletion / update
    • Implemented according to the standard semantics of the data structure
  • Single-source shortest paths (output must be unweighted distance)
    • Must be implemented using a breadth-first traversal
  • Shiloach-Vishkin style connected components
    • Must be implemented using a (parallel where possible) for all edges loop
  • PageRank
    • Must be implemented using (parallel where possible) for all vertices loops

Additionally, information about their licensing, costs, capabilities, distribution patterns, etc. will be gathered but may or may not be available here.

Where possible, libraries will be pulled in directly from their git repositories as submodules. In cases where submodules cannot be used, the source / binary necessary for the library will be added to the repository if the license permits. Other cases should provide README files or something similar where the files should be placed and how to obtain them. For the most part, projects which are not available as free and/or open source software will only be included or tested if they have an evaluation license of some sort. In those cases, only the evaluation version is used. For example, DEX has a limitation on the evaluation version that prevents more than 1M total vertices and edges from being added to the graph which is the version used here.

Package Name Type S-V Components SSSP-BFT(BFS) PageRank Insert/Remove
STINGER Library Implemented Implemented Implemented Implemented
MySQL SQLDB
SQLite SQLDB Implemented Implemented Implemented Implemented
Oracle SQLDB Not Planned Not Planned Not Planned Not Planned
SQL Server SQLDB Not Planned Not Planned Not Planned Not Planned
Neo4j GDB/NoSQL Implemented Implemented Implemented Implemented
OrientDB GDB/NoSQL Implemented Implemented Implemented Implemented
InfoGrid GDB
Titan GDB Implemented Implemented Implemented Implemented
FlockDB GDB
ArangoDB GDB/KV/DOC Implemented Implemented Implemented
InfiniteGraph GDB
AllegroGraph GDB
DEX GDB Implemented Implemented Implemented Implemented
GraphBase GDB
HyperGraphDB HyperGDB
Bagel BSP Implemented Implemented Implemented Implemented
Hama BSP
Giraph BSP
PEGASUS Hadoop
Faunus Hadoop
NetworkX Library Implemented Implemented Implemented Implemented
Gephi Toolkit
MTGL Library Implemented Implemented Implemented Implemented
BGL Library Implemented Implemented Implemented
GraphStream Library
uRika Appliance N/A N/A N/A N/A

Graphs will be generated using an implementation of the R-MAT synthetic graph generator which is designed to generate graphs that emulate the properties of real social networks at a large scale (small-world phenomena, power-law degree distribution, etc). Graphs are generated using parameters A = 0.55, B = 0.1, C = 0.1, D = 0.25. The size of the graph is determined by SCALE and EDGE FACTOR, where the number of vertices = 2^SCALE and the number of edges is the number of vertices multiplied by the edge factor. Inserted, updated, and deleted edges are generated following this same procedure with P(delete) = 0.0625 that instead of generating an insertion, a previous inserted edge will be selected for deletion. Graph sizes used for testing are listed below:

Name SCALE EDGE FACTOR Vertices Edges
Tiny 10 8 1K 8K
Small 15 8 32K 256K
Medium 20 8 1M 8M
Large 24 8 16M 128M

For the tiny and small graphs, 100,000 edge updates will be used. For the medium and large graphs, 1,000,000 edge updates will be used. Results will be normalized to edges per second.

Submitting Your Own Results

We highly encourage package maintainers and interested individuals to submit your own implementations and results via pull request (and hope that the work done so far may motivate you to do so). Perhaps together we can asymptotically approach a somewhat 'fair' comparison.

Ideally submissions should include details about the systems / architectures used, algorithm and implementation choices (i.e. whether or not the prescribed implementation style was used). Results and code not following the same style will still be accepted as we'd rather be more inclusive as long as everything is clearly indicated. Using the same implementation style was intended to show the performance of algorithms following a given style of computation (edge parallel, BSP, breadth-first traversal, etc.), so if you can include some information about why that style of compute is not a great fit for the architecture or not possible, that would be ideal. The primary goal is that results are reproducible assuming the same system and configuration following configuration information and code in the submission

Results for any size / scale graph are acceptable. Unfortunately, we couldn't get a lot of the packages to scale without running out of memory or taking more than 24 hours to compute, so we determined that even the relatively small quarter billion edge graph was enough to complete the comparison. The designations were chosen for referential convenience (a 'huge' multi-billion-edge graph was used for a handful of tests with a package or two with plans for a 'massive' multi-billion-vertex graph tabled), so feel free to follow these conventions or create your own.

About

Benchmarking various graph databases, engines, datastructures, and data stores.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 66.1%
  • C++ 24.7%
  • JavaScript 3.7%
  • Makefile 3.0%
  • Shell 0.6%
  • HTML 0.5%
  • Other 1.4%