|James Phillips 13d9476a43 Gets benchmarks running again and does a rough pass for 0.7.1.||3 years ago|
|conf||5 years ago|
|Makefile||3 years ago|
|README.md||3 years ago|
|bench-aws.json||4 years ago|
|bench.json||3 years ago|
|results-0.2.md||5 years ago|
|results-0.3.md||5 years ago|
|results-0.7.1.md||3 years ago|
|results-0.7.1.svg||3 years ago|
This repo contains the automation necessary for the Consul benchmarks.
There is a single main Packer file
bench.json. To use it, the variables
do_api_key must be provided. These correspond to
your DigitalOcean client ID and API key.
When Packer runs, it will generate 3 images:
For the benchmark you should start 1 bootstrap instance, and 2 normal servers. As many workers as desired can be started. Once the nodes are up, you must SSH into one of the Consul servers.
Connect all the nodes with:
$ consul join <n1> ... <n5>
This will connect all the nodes within the same datacenter.
To run the benchmarks, use the Makefile:
$ cd / $ make # Runs all the benchmarks $ make put # Runs only the PUT benchmarks
There is no good way to currently cause multiple workers to run at the same time, so I just type in the make command and rapidly start the test on all workers. It is not perfect, but the test runs long enough that the calls overlap.