tools

package module
Version: v0.0.0-...-abed277 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

README

Pilosa Tools

This repo contains the pi tool which can:

  • run a variety of predefined benchmarks (that can be configured in various way)
  • run combinations of predefined benchmarks
  • run benchmarks from multiple "agents" simultaneously
  • store the results of complex combinations of benchmarks running on multiple agents locally.

The pi tool contains several subcommands which are described in more detail below. To get help for pi, or any subcommand of pi (or any subcommand of any subcommand of pi, etc.), just append --help at the command line: e.g. pi --help or pi bench --help or pi bench import --help.

bench

The bench command has a set of subcommands, one for each available benchmark. All of them take a --hosts argument which specifies the Pilosa cluster, and a --agent-num argument. The agent num argument is mostly used by pi spawn and we discuss it in more detail in that section.

Example:

pi bench import --hosts=one.example.com:10101,two.example.com:10101,three.example.com:10101 --iterations=100000 --max-column-id=10000 --max-row-id=1000

The above would import 100,000 random bits into the three node Pilosa cluster specified. All bits would have column ID between 0 and 10,000, and row ID between 0 and 1000.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime = "not set"
View Source
var Version = "v0.0.0"

Functions

This section is empty.

Types

This section is empty.

Source Files

Directories

Path Synopsis
Package apophenia provides seekable pseudo-random numbers, allowing reproducibility of pseudo-random results regardless of the order they're generated in.
Package apophenia provides seekable pseudo-random numbers, allowing reproducibility of pseudo-random results regardless of the order they're generated in.
bench contains benchmarks and common utilities useful to benchmarks In order to write new benchmarks, one must satisfy the Benchmark interface in bench.go.
bench contains benchmarks and common utilities useful to benchmarks In order to write new benchmarks, one must satisfy the Benchmark interface in bench.go.
cmd
dx
pi

Jump to

Keyboard shortcuts

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