etcd/hack/benchmark
Raoof Mohammed 90e8dcd9bf hack: benchmarking to use Content Type
hack: benchmarking to use Content Type: application/x-www-form-urlencoded

boom sends PUT request with Content-Type: text/html, and this cannot be parsed by etcd. It should use Content-Type: application/x-www-form-urlencoded. Post this fix the official etcd benchmarks should be updated as the keysize was not a factor as the value being set was always empty.
2015-10-12 10:03:09 -04:00
..
README.md hack/benchmark: add script for benchmark 2015-08-19 20:37:27 -07:00
bench.sh hack: benchmarking to use Content Type 2015-10-12 10:03:09 -04: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.