golatency

command
v0.0.0-...-9ba778e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

README

Configuration

Quick and dirty during early exploration development.

Environment variables:

GOLATENCY_ITERATIONS=100
GOLATENCY_JSONOUT=FALSE
GOLATENCY_REDISAUTHTOKEN=<auth>
GOLATENCY_REDISCONNECTIONSTRING=<host:port>

If GOLATENCY_JSONOUT is set to true, only the JSON output will be printed to stdout.

If storing results in mongo:

GOLATENCY_MONGOCOLLECTIONNAME=<name>
GOLATENCY_MONGOCONNSTRING=<connstring>
GOLATENCY_MONGODBNAME=<dbname>
GOLATENCY_MONGOUSERNAME=<username>
GOLATENCY_MONGOPASSWORD=<password>

Results

The latency numbers are in nanoseconds, and represent the point of view of the client. As such it includes networking.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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