go-cockroach

command module
v0.0.0-...-2f59137 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 17 Imported by: 0

README

go-cockroach

Scrappy load generation tool for cockroach via HTTP.

TODO:

  • Add runtime options for http listen port
  • Add connection to carbon and influx
  • Add Base HAProxy config
  • Add condition for nil when a cockroach node is down /show_sessions!!!

BUGS:

  • show_sessions Panic if cockroach node is down and return nil
  • Tcc or stdout carbon returns metric's per sql call N time per second. default aggration is every 10 seconds resulting in loss of resolution unless changed in carbon even if changed to every second we still lose N per seconds.

Documentation

Overview

* Heavy run load 11K INSERTS 100K SELECTS per second (Stability / Schema run). * curl -s http://ipORdomain:8000/cal_prep #creates db and table * Scraper v_2 go-bench-cal_insert * ab -c 100 -n 1000 -k http://domain.com/cal_insert * ab -c 100 -n 1000 -k http://domain.com/cal_all * in a web browser goto * http://domain.com/cal_prep * http://domain.com/cal_insert * http://domain.com/cal_all

Directories

Path Synopsis
* Just junk atm Idea is to count qps and report to stdout and carbon/influx and elasticsearch * not sure how I want this to work so this is a junk function atm.
* Just junk atm Idea is to count qps and report to stdout and carbon/influx and elasticsearch * not sure how I want this to work so this is a junk function atm.

Jump to

Keyboard shortcuts

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