staleread

package module
v0.0.0-...-dfd9850 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Table name
	Table = "stale_read"
)

Functions

This section is empty.

Types

type ClientCreator

type ClientCreator struct {
	Cfg *Config
}

ClientCreator creates stale client

func (*ClientCreator) Create

func (s *ClientCreator) Create(node cluster.ClientNode) core.Client

Create creates StaleReadClient

type Config

type Config struct {
	DBName          string
	TotalRows       int
	Concurrency     int
	RequestInterval time.Duration
	MaxStaleness    int
}

Config for stale read test

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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