etcd/hack/benchmark
Joshua Deare 4eefdaa4bb
hack/benchmark: change boom to hey
boom has moved to hey, due to a conflicting binary name with another
project
2016-10-24 13:28:53 -07:00
..
README.md hack/benchmark: add script for benchmark 2015-08-19 20:37:27 -07:00
bench.sh hack/benchmark: change boom to hey 2016-10-24 13:28:53 -07:00

README.md

Usage

Benchmark 3-member etcd cluster to get its read and write performance.

Instructions

  1. Start 3-member etcd cluster on 3 machines
  2. Update $leader and $servers in the script
  3. Run the script in a separate machine

Caveat

  1. Set environment variable GOMAXPROCS as the number of available cores to maximize CPU resources for both etcd member and bench process.
  2. Set the number of open files per process as 10000 for amounts of client connections for both etcd member and benchmark process.