MaTianmao / ldbc_snb_interactive_driver

Driver for the LDBC SNB Interactive workload

Home Page:https://ldbcouncil.org/benchmarks/snb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LDBC Logo

LDBC SNB Interactive driver

Build Status

This driver runs the Social Network Benchmark's Interactive workload, including cross-validation and benchmark execution.

The main branch of this repository contains the code for SNB Interactive v2.0, which extends the workload with delete operations and supports larger scale factors. It is still under active development. If you are looking for a stable and auditable version, please check out the v1-dev branch.

Related repositories:

Note that v2.0 of SNB Interactive uses the LDBC SNB Spark data generator (while older versions used the Hadoop-based generator).

User Guide

Clone and build with Maven:

git clone https://github.com/ldbc/ldbc_snb_driver.git
cd ldbc_snb_driver
mvn clean package -DskipTests

To quickly test the driver try the "simpleworkload" that is shipped with it by doing the following:

java \
  -cp target/driver-standalone.jar org.ldbcouncil.snb.driver.Client \
  -db org.ldbcouncil.snb.driver.workloads.simple.db.SimpleDb \
  -P target/classes/configuration/simple/simpleworkload.properties \
  -P target/classes/configuration/ldbc_driver_default.properties

For more information, please refer to the Documentation.

Deploying Maven Artifacts

We use a manual process for deploying Maven artifacts.

  1. Clone the snb-mvn repository next to the driver repository's directory.

  2. In the driver repository, run:

    scripts/package-mvn-artifacts.sh
  3. Go to the snb-mvn directory, check whether the JAR files are correct.

  4. Commit and push.

About

Driver for the LDBC SNB Interactive workload

https://ldbcouncil.org/benchmarks/snb

License:Apache License 2.0


Languages

Language:Java 97.6%Language:Python 2.3%Language:Shell 0.1%