generator

package
Version: v0.0.0-...-fc1e718 Latest Latest
Warning

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

Go to latest
Published: May 10, 2017 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

Package generator provides test clients for benchmarking Ios's key value store performance. Currently, generator only generates get and updates requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator generates workloads for the key value store application.

func Generate

func Generate(config config.ConfigAuto, consistencyCheck bool) *Generator

Generate creates a workload generator with the specific configuration.

func (*Generator) Next

func (g *Generator) Next() (string, bool, bool)

Next return the next request in the workload or false if no more are available.

func (*Generator) Return

func (g *Generator) Return(response string)

Return notifies the generator of Ios's response so it can check consistency

Source Files

Jump to

Keyboard shortcuts

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