etcd

package module
v0.0.0-...-30be30e Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 7 Imported by: 0

README

Benchmark etcd

A etcd benchmark tool based on fperf

Installing

go get github.com/fperf/etcd/bin/fperf

Usage

./fperf -server http://127.0.0.1:2379 -connection 256 -tick 1s etcd [put|get|delete|range]

The key is randomly generated with the default key-size = 4 bytes, so the key space is 2^32.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs *fperf.FlagSet) fperf.Client

New creates a fperf client

Types

type Op

type Op string

Op is the operation type issued to etcd

const (
	Put    Op = "put"
	Get    Op = "get"
	Range  Op = "range"
	Delete Op = "delete"
)

Operations

Directories

Path Synopsis
bin

Jump to

Keyboard shortcuts

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