Git Product home page Git Product logo

veribench's Introduction

VeriBench

Overview

This repository implements VeriBench, a benchmark framework for database systems with verifiability. VeriBench evaluates all main components of a verifiability-enabled database, namely authenticated data structure, query processing, verification, and auditing. It provides comprehensive performance analysis with verification-aware micro- and macro-benchmarks. Meanwhile, VeriBench provides user friendly extensible APIs. Users can easily add their customized workloads and new ledger databases for benchmarking.

Code structure

  • /workload - Contains workload interface and implementations. The implementation of workload is placed under specific folder and implementing common APIs specified in workload.h. In this repository, we provide default implementation for YCSB, SmallBank, and TPCC.

  • /analyzer - Provides scripts to process the log generated during workload execution.

  • /dbadapter - Contains DB adapter interface and implementations. Users can add new adapter for the database to be evaluated by implementing a list of common database APIs defined in dbadapter.h. Users shall put their implementation files in a separate folder, and provide start_server.sh and stop_server.sh in the conf folder.

  • /dbs - (Optional) Contains executables and shared libraries of the database under evaluation. The database can be installed anywhere else with the db_bin_dir specidified in the conf.sh

  • /exps - Contains the program and scripts to start the experiments.

    • conf.sh - The configurations and environment to run the experiments.
    • run_exps.sh - Script to start the experiments

Dependency

  • gcc (≥ 5.5)
  • cmake (≥ 3.12)
  • Intel Threading Building Block (tested with tbb_2020 version)

Quick Start

Build

$ mkdir build && cd build
$ cmake .. && make

Run benchmark

Fill in the configurations in /exps/conf.sh

$ cd exps
$ ./run_exps.sh

veribench's People

Contributors

yc1111 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ooibc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.