Skip to content

BingTong0/graph-transaction-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTAPBench: A Benchmark for Graph Database Transaction Performance in HTAP Scenarios

Overview

This project aims to develop a comprehensive benchmark testing framework for graph databases, specifically focusing on their performance in Hybrid Transactional/Analytical Processing (HTAP) environments. The framework assesses the transactional and analytical capabilities of graph databases, providing valuable insights into their performance under diverse workloads. The research is centered on addressing the requirements of transaction processing (OLTP) and complex analysis (OLAP), offering a targeted reference for real-world applications.

Custom Graph Database Benchmark

This project extends the GraphDatabaseBenchmark interface to facilitate custom benchmark testing for alternative graph databases.

  • Create a new class that extends the GraphDatabaseBenchmark abstract class.
public class CustomBenchmark extends GraphDatabaseBenchmark {
// Implement benchmark test methods
}
  • Customize benchmark tests within the implemented class based on your requirements.

  • Add and run the benchmark tests using the provided framework.

    GraphDatabaseBenchmark customBenchmark = new CustomBenchmark();
    Driver.compareDatabases(neo4jBenchmark, galaxybaseDatabaseBenchmark, customBenchmark);

Getting Started

Prerequisites

Environment

  • Java 11
  • Maven 3.0.0

Install the Neo4j and Galaxybase graph database in advance.

Neo4j: https://neo4j.com/
Galaxybase: https://www.galaxybase.com/

Load data for Neo4j and Galaxybase.

data: https://snap.stanford.edu/data/higgs-twitter.html

Installation

You should install this HTAP benchmark project.

# Clone the repository
git clone https://github.com/BingTong0/graph-transaction-benchmark
cd graph-transaction-benchmark

# Build the project
mvn clean install

Usage

java -jar target/graph-database-benchmark.jar

Expected Results

Generate the charts when the benchmark has finished.

OLAPBar.png OLAPXY.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages