Created
April 18, 2016 22:48
-
-
Save smetj/64266af55260056003c9e278139fe50c to your computer and use it in GitHub Desktop.
Hammering Graphite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
modules: | |
input: | |
module: wishbone.input.hammer | |
arguments: | |
batch_size: 100 | |
set_size: 100 | |
graphite: | |
module: wishbone.encode.graphite | |
buffer: | |
module: wishbone.flow.tippingbucket | |
arguments: | |
bucket_size: 100 | |
roundrobin: | |
module: wishbone.flow.roundrobin | |
output_1: | |
module: wishbone.output.tcp | |
arguments: | |
host: graphite-relay-server-1 | |
port: 2013 | |
output_2: | |
module: wishbone.output.tcp | |
arguments: | |
host: graphite-relay-server-2 | |
port: 2013 | |
routingtable: | |
- input.outbox -> graphite.inbox | |
- graphite.outbox -> buffer.inbox | |
- buffer.outbox -> roundrobin.inbox | |
- roundrobin.one -> output_1.inbox | |
- roundrobin.two -> output_2.inbox | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
install wishbone and wishbone.input.hammer:
$ pip install wishbone wishbone-input-hammer wishbone-output-tcp
Bootstrap the server:
$ wishbone debug --config bootstrap.yaml
More parallel instances:
$ wishbone debug --config bootstrap.yaml --instances 3