Commit graph

737 commits

Author SHA1 Message Date
jaffee
65ac486b4c refactor Init and provide ClientType option
Benchmark implementations can now use 'HasClient' as a component which provides
an Init method which sets up the pilosa client in a configurable way.
Implementations must still expose the ClientType argument through ConsumeFlags
and describe it in Usage()
2016-11-28 15:45:17 -07:00
jaffee
2f4171bba8 add agentNum to benchmark Init as well as run 2016-11-28 15:45:17 -07:00
jaffee
0dc8548f45 split benchmarks into separate files 2016-11-28 15:45:17 -07:00
jaffee
256d516726 fix broken context stuff after rebase 2016-11-28 15:45:17 -07:00
jaffee
86d408310c add MultiDBSetBits benchmark 2016-11-28 15:45:17 -07:00
jaffee
553180870b don't repeat benchmark docs in 3 places
make Usage() the single place where arguments are described.
2016-11-28 15:45:17 -07:00
jaffee
6d2cc4335f forgot to check in randspawn benchmark file 2016-11-28 15:45:17 -07:00
jaffee
cb85882289 add RandomSetBits benchmark demonstrating seeds 2016-11-28 15:45:17 -07:00
jaffee
776da440f6 add bspawn command and json config file 2016-11-28 15:45:17 -07:00
jaffee
3bd5daa5f3 redirect pilosactl create -local output to file 2016-11-28 15:45:17 -07:00
jaffee
c24c60fdba add timing info to benchmark results 2016-11-28 15:45:17 -07:00
jaffee
e6b31db90d simplify and rename SetBits Benchmark 2016-11-28 15:45:17 -07:00
jaffee
6c42e8b7e7 renaming stuff to be more idiomatic 2016-11-28 15:45:17 -07:00
jaffee
7e524ed836 setup and support BenchmarkCmd interface 2016-11-28 15:45:17 -07:00
jaffee
5488c36527 move pilosa-benchmark-agent under pilosactl 2016-11-28 15:45:17 -07:00
jaffee
b0bf131eeb fix usage string for benchmark agent 2016-11-28 15:45:17 -07:00
jaffee
983379928c add cluster creation to pilosactl 2016-11-28 15:45:17 -07:00
jaffee
5d16dba5ec add benchmark agent 2016-11-28 15:45:17 -07:00
jaffee
0a0a0997e9 add creator pkg for standing up cluster
just has code for local clusters at the moment
2016-11-28 15:45:17 -07:00
jaffee
32fdc2905e add Paralell and Serial benchmarker combiners
these can be used to merge several benchmarks into one.
2016-11-28 15:45:17 -07:00
jaffee
d33adcd22e define Benchmarker interface and a benchmark 2016-11-28 15:45:17 -07:00
jaffee
25b1d16b2a add an "integration" benchmark test
along with test cluster setup code
2016-11-28 15:45:17 -07:00
Cody Soyland
2bc8a8d8d0 Change references from "umbel" to "pilosa" 2016-11-28 16:35:56 -06:00
Cody Soyland
a2d9a9a8d3 Migrate from Umbel to Pilosa organization on Github 2016-11-28 15:21:11 -06:00
tgruben
396b6f4bd7 Merge pull request #142 from benbjohnson/fault-tolerance
Add query fault tolerance to Executor.
2016-11-17 14:09:53 -06:00
Ben Johnson
24337f3fe8
Add fault tolerance to executor. 2016-11-17 12:02:53 -07:00
Travis Turner
a17bb2a19e Merge pull request #141 from benbjohnson/ctx
Add context to pilosactl.
2016-11-16 22:00:15 -06:00
Ben Johnson
7c1a39a02d
Add context to pilosactl. 2016-11-16 19:53:40 -07:00
Cody Soyland
ef1bef9aa1 Update README. Pilosa client requires Go 1.7 (context package) 2016-11-15 16:57:25 -06:00
tgruben
6bd8469dac Merge pull request #139 from benbjohnson/context
Add context to Client, Executor, & Handler.
2016-11-10 16:00:35 -06:00
Ben Johnson
5fcea77be3
Add context to Client, Executor, & Handler.
This changes the API of the types but does not alter the functionality
since only the `context.Background()` is currently being used. Adding
`Context` will help handle fault tolerance in the future by allowing
timeouts to be propagated across calls to different nodes.
2016-11-10 13:37:00 -07:00
tgruben
a58a167315 Merge pull request #138 from benbjohnson/frame-fragment-lock
Fix unlocked Frame.fragments accessor.
2016-11-04 10:56:07 -05:00
Ben Johnson
d42ea03b76
Fix unlocked Frame.fragments accessor. 2016-11-04 09:32:58 -06:00
tgruben
9b965042ef Merge pull request #135 from benbjohnson/assert
Clear empty containers, add assertions.
2016-11-03 14:52:53 -05:00
Ben Johnson
154a00f747
Clear empty containers, add assertions. 2016-11-03 13:42:46 -06:00
tgruben
aaa0d4eacf Merge pull request #134 from yuce/dev-docs
added dev docs
2016-11-03 11:27:44 -05:00
Yuce Tekol
59dde04b6d Removed export /home/yuce/Work/pilosa/server lines 2016-11-03 16:55:01 +03:00
Cody Soyland
db6df60877 Merge pull request #133 from yuce/updated-vendor-deps
updated vendors
2016-11-03 08:50:06 -05:00
Yuce Tekol
ef3f40bc9c typo 2016-11-03 16:47:17 +03:00
Yuce Tekol
9e3bfe9d5c typo 2016-11-03 16:45:52 +03:00
Yuce Tekol
64bad3f218 added dev docs 2016-11-03 16:37:45 +03:00
Yuce Tekol
92f0ddb39a updated vendors 2016-11-03 16:14:11 +03:00
tgruben
b2de0e8937 Merge pull request #132 from travisturner/stats
fix the datadog stub so that it compiles without error
2016-11-02 17:21:09 -05:00
Travis
32f0246bf3 fix the datadog stub so that it compiles without error 2016-11-02 16:34:45 -05:00
tgruben
7dbd66baf8 Merge pull request #130 from benbjohnson/check
Add pilosactl check.
2016-10-26 20:34:10 -05:00
Ben Johnson
748484040d
Add pilosactl check. 2016-10-26 13:51:23 -06:00
tgruben
a5502e207e Merge pull request #129 from benbjohnson/127-array-write-fix
Avoid array write if length is zero.
2016-10-26 14:51:21 -05:00
Ben Johnson
65fffc0efa
Avoid array write if length is zero. 2016-10-26 13:47:37 -06:00
tgruben
fe0c83f986 Merge pull request #128 from benbjohnson/stats
Add ExpvarStatsClient and basic tracking.
2016-10-20 16:46:20 -05:00
Ben Johnson
b00901d265
Add ExpvarStatsClient and basic tracking.
A `StatsClient` for `expvar` is added so we can track Stats through
the `/debug/vars` endpoint. Tags are nested inside maps so that we
can see stats for db, frame & slice.

Also added a `MultiStatsClient` for chaining multiple `StatsClient`
implementations together (e.g. `expvar` and DataDog).
2016-10-20 14:35:14 -06:00