GCE n1-highcpu-2 machine type
3 etcd 2.2.0 members, each runs on a single machine.
etcd Version: 2.2.0 Git SHA: e4561dd Go Version: go1.5 Go OS/Arch: linux/amd64
Bootstrap another machine, outside of the etcd cluster, and run the
hey HTTP benchmark tool with a connection reuse patch to send requests to each etcd cluster member. See the benchmark instructions for the patch and the steps to reproduce our procedures.
The performance is calulated through results of 100 benchmark rounds.
|key size in bytes||number of clients||target etcd server||average read QPS||read QPS stddev||average 90th Percentile Latency (ms)||latency stddev|
|key size in bytes||number of clients||target etcd server||average write QPS||write QPS stddev||average 90th Percentile Latency (ms)||latency stddev|
Because etcd now records metrics for each API call, read QPS performance seems to see a minor decrease in most scenarios. This minimal performance impact was judged a reasonable investment for the breadth of monitoring and debugging information returned.
Write QPS to cluster leaders seems to be increased by a small margin. This is because the main loop and entry apply loops were decoupled in the etcd raft logic, eliminating several blocks between them.
Write QPS to all members seems to be increased by a significant margin, because followers now receive the latest commit index sooner, and commit proposals more quickly.