90e8dcd9bf
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. |
||
---|---|---|
.. | ||
README.md | ||
bench.sh |
README.md
Usage
Benchmark 3-member etcd cluster to get its read and write performance.
Instructions
- Start 3-member etcd cluster on 3 machines
- Update
$leader
and$servers
in the script - Run the script in a separate machine
Caveat
- Set environment variable
GOMAXPROCS
as the number of available cores to maximize CPU resources for both etcd member and bench process. - Set the number of open files per process as 10000 for amounts of client connections for both etcd member and benchmark process.