bench

command module
v0.0.0-...-2072eeb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

Chorus benchmark tool

See config.

  • The tool writes objects of configured size to configured bucket to ChorusProxy with configured concurrency.
  • Write benchmarks logged to CSV file along with chorus meta.
  • Every N writes the tool performs LIST and GET object against ChorusProxy and directly to main storage.
  • Proxy and Main LIST and GET results also logged to a separate CSV files along with Chorus meta.

This allows to see how ChorusProxy behaves dependent on number of objects in bucket in comparison to Main storage.

Other features:

  • The tool stores stated in local KV store on disk chorus-bench.db and will catch up from the same place in case of restart.
Build binary for linux
GOOS=linux GOARCH=amd64 go build -o bench-linux-64 .
Run in background
nohup bench-linux-64 > chorus_bench.log &

Will start benchmark in background and redirect logs into chorus_bench.log file. Benchmarks results will appear in CSV files bench_*_<obj_size>_P<concurrency>_<timestamp>.csv in current directory.

Documentation

Overview

* Copyright © 2023 Clyso GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.

Directories

Path Synopsis
cmd
pkg
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL