bexhoma.experiments.benchbase module

Experiment class for Benchbase benchmarks.

Provides BenchbaseExperiment, which extends MixedExperiment to orchestrate Benchbase workloads (e.g., TPC-C, SEATS, Twitter) inside a Kubernetes cluster.

Authors: Patrick K. Erdelt Copyright (C) 2020 Patrick K. Erdelt SPDX-License-Identifier: AGPL-3.0-or-later See LICENSE for details.

class bexhoma.experiments.benchbase.BenchbaseExperiment(cluster, code=None, SF='1', num_experiment_to_apply=1, timeout=7200)

Bases: MixedExperiment

Benchbase experiment: orchestrates Benchbase loading and benchmarking inside a Kubernetes cluster.

Registers a Benchbase benchmark object and pre-populates the experiment dict template with Benchbase-specific job templates.

OLD_evaluate_results(pod_dashboard='')

Build a DataFrame locally that contains all benchmarking results. This is specific to Benchbase.

set_benchmark_type(benchmark: str = 'tpcc') None

Select the Benchbase workload to run and update the storage label and config folder accordingly.

Parameters:

benchmark – Benchbase benchmark name, e.g. ‘tpcc’, ‘ycsb’, ‘seats’.