Commit Graph

57 Commits (df080dfb462b1f4f2a7989745e3241f98d53c091)

Author SHA1 Message Date
Jonathan A. Sternberg ddf655c222 Fix influx stress point writer
It previously used the content type `application/x-www-form-urlencoded`.
When the HTTP write handler was changed to check an HTTP form parameter
in d96eef4, the body for any POST requests with that content type would
result in an empty body.
2016-03-21 17:34:41 -04:00
Nathaniel Cook 2ce94c4ee9 kapacitor fixes for stress 2016-03-11 17:34:34 -07:00
Michael Desa 11424a889f Fix concurrent map access 2016-03-10 10:06:08 -08:00
Ben Johnson d9a6a7340f add canonical paths 2016-02-10 11:30:52 -07:00
Ben Johnson 5a0d1ab7c1 rename influxdb/influxdb to influxdata/influxdb
This commit changes all the import and URL references from:

    github.com/influxdb/influxdb

to:

    github.com/influxdata/influxdb
2016-02-10 10:26:18 -07:00
Michael Desa 7c025d8497 Change db flag message 2015-12-29 13:12:05 -08:00
Michael Desa ebd9b9978e Add flag to specify db and clarify flag descriptions 2015-12-29 11:31:28 -08:00
Michael Desa 3535096a5c Change pps output to int 2015-12-16 10:28:17 -08:00
Jack Zampolin 7d0d9b75d9 Add backoff to retry function
Set backoff constant

Wait to parse flags

Remove unnecessary logging

Fix retry logic
2015-12-14 13:46:40 -08:00
Jack Zampolin 39dc75ea4c Implement retry logic 2015-12-14 13:46:10 -08:00
Michael Desa b1be2d595c Rework outputConfig for influx_stress 2015-12-08 14:19:07 -08:00
Jack Zampolin 8d64c9985e Things!! All the things! 2015-12-08 13:34:55 -08:00
Jack Zampolin 11aaf631e6 Implement WriteHTTPHandler 2015-12-08 11:43:57 -08:00
Michael Desa c7709643b1 Add broadcast channel for stress 2015-12-08 11:10:44 -08:00
Michael Desa 14b5ed3001 Merge pull request #4961 from influxdb/md-stress-cluster
Add cluster support to stress test
2015-12-04 15:20:31 -08:00
Jason Wilder 94e5dc075b Change default stress batch size to 5000
10000 is too large and causes a lot of allocations.  5000 doubles the
throughput.
2015-12-03 14:41:46 -07:00
Michael Desa f9fa366861 Add querying across cluster
Add support for precision
2015-12-02 14:49:23 -08:00
Michael Desa b0f27beb12 Add support for writing to a cluster 2015-11-30 10:22:12 -08:00
Michael Desa d6b4f64006 Add basichttp write handler 2015-11-27 19:20:29 -08:00
Michael Desa e045e997f7 Update to new v2 client 2015-11-17 14:56:47 -08:00
Michael Desa eb0e760763 Update stress config examples 2015-11-17 14:36:10 -08:00
Michael Desa b86c0d31d7 Refactor stress tool
Add StressTest type and auxillary interfaces

Add config structs

Move generator to config

Add utility methods used in stress

Add basic components for a stress test

Add touches

Add configuration options

Add unified results handlers

Add final print out of results

Add Success function to response type

Add query support

Send query results

Add comments to run.go

Change Basic to BasicWriter

Add basic query

Add incomplete README

Abstract out response handling

Change plugin to basic

Add responseHandler type

Add additional parameter to Query function

Add todo comments and cleanup main

Lower hard coded value

Add flag for profiling

Fix race condition

Wait at the right place

Chane point from struct to interface

Improve generic write throughput

Reorganize

Fastest State

Add toml config

Add test server

Add basic working version of config file

Move config file logic into its own file

Fix broken config file

Add query count to stress config

Add support for concurrency and batch interval

Reorder config option

Remove unneeded init

Remove old stress package

Move new stress code into stress directory

Rework influx_stress tool

Do something reasonable if no config is given

Remove unneeded comments

Add tests for stress package

Add comments and reorganize code

Add more comments

Count lines posted correctly

Add NewConfig method

Fix style issues

Add backticks to flag description

Fix grammar

Remove `StartTimer` calls where appropriate

Fix comment language

Change Reader to Querier

Reorder defer

Fix issues bought up by golint

Add more comments

Add more detailed Readme

Increase counter appropriately

Add return errors where appropriate

Add test coverage

Move `now()` from QueryClient to QueryGenerator
2015-11-17 12:16:31 -08:00
Michael Desa 0035b79a84 Remove unneeded lines 2015-10-21 19:26:58 -07:00
Matthias Endler 9df7cb65ed Add proper comments to exported types and funcs in runner package 2015-10-17 21:29:20 +02:00
Matthias Endler 2b2ceb4203 Fix warning about invalid comment format on NewSeries function 2015-10-17 21:27:53 +02:00
Michael Desa 67a93aa704 Fix timestamps 2015-10-13 18:06:26 -07:00
Michael Desa 80695dbac6 Add negative jitter 2015-10-13 17:46:28 -07:00
Michael Desa 7d5deda4af Add https support 2015-10-05 16:47:56 -07:00
Michael Desa 877634116e Only add jitter if config option is set 2015-10-05 13:37:38 -07:00
Michael Desa 52b7e557c1 Add support for timestamp jitter 2015-10-05 12:09:08 -07:00
Michael Desa 68c1d05ad4 First pass at adding timestamps 2015-10-02 16:05:06 -07:00
Michael Desa 48ad59c38b Stop using influx client to write points 2015-09-30 15:55:09 -07:00
Michael Desa f056753afe Add moderate burn test
First pass at constructing points myself
2015-09-30 15:55:07 -07:00
Michael Desa d6027071d2 Add optional jitter to timestamps 2015-09-30 15:55:07 -07:00
Michael Desa 293fad1e20 Add note about buffer time and change example_2 2015-09-30 15:55:07 -07:00
Michael Desa 8a76e7db78 Add comments and tests 2015-09-30 15:55:07 -07:00
Michael Desa ee9c78735e Add configurable channel buffer size 2015-09-30 15:55:07 -07:00
Michael Desa 857f99b05b Increase buffer size for points
Add lower
2015-09-30 15:55:07 -07:00
Michael Desa ecb9bd9592 Add support for stress test under query load 2015-09-30 15:55:07 -07:00
Michael Desa 2465dbc788 Add high performance stress test example
First round at adding query load

Working draft:

Not happy with things, but it works
2015-09-30 15:55:07 -07:00
Michael Desa 248a2731fa Change variable names 2015-09-30 15:55:07 -07:00
Michael Desa 5901c71be8 Fix long test time 2015-09-30 15:55:07 -07:00
Michael Desa acde283271 Decouple generating points from writing them 2015-09-30 15:55:06 -07:00
Michael Desa 22a6f79a3c Add support for `tag_count` config option
It is now possible to configure arbitrarily many tags in a generic
format. That is specifying the config option `tag_count=10` will add 10
tags to a series that are of the form `tag-key-n=tag-value` where n
ranges from 0 to 9.

Save current state
2015-09-30 15:55:06 -07:00
Michael Desa 03f291d78c Add comments and shuffle var declarations 2015-09-30 15:55:06 -07:00
Michael Desa fdfb039a44 Allow configuration via config file or flags
Note that config file takes precedence to flags
2015-09-30 15:55:06 -07:00
Michael Desa 12c0625af2 Remove comment about off by one bug 2015-09-30 15:55:06 -07:00
Michael Desa c3783f9aa4 Fix off-by-one bug 2015-09-30 15:55:06 -07:00
Michael Desa 9d88161a7b Fix broken tests 2015-09-30 15:55:06 -07:00
Michael Desa f738ef5d8d Remove commented struct fix comments for godoc 2015-09-30 15:55:06 -07:00