↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

etcd 3.7

Benchmarking etcd v3

Official etcd 3.7 guides for developers, operators, upgrades, APIs, and internals.

Physical machines

GCE n1-highcpu-2 machine type

  • 1x dedicated local SSD mounted under /var/lib/etcd
  • 1x dedicated slow disk for the OS
  • 1.8 GB memory
  • 2x CPUs
  • etcd version 2.2.0

etcd Cluster

1 etcd member running in v3 demo mode

Testing

Use etcd v3 benchmark tool .

Performance

reading one single key

key size in bytes number of clients read QPS 90th Percentile Latency (ms)
256 1 2716 0.4
256 64 16623 6.1
256 256 16622 21.7

The performance is nearly the same as the one with empty server handler.

reading one single key after putting

key size in bytes number of clients read QPS 90th Percentile Latency (ms)
256 1 2269 0.5
256 64 13582 8.6
256 256 13262 47.5

The performance with empty server handler is not affected by one put. So the performance downgrade should be caused by storage package.

Source and license

Documentation imported from pig.center · Upstream documentation

Version
3.7
License
CC-BY-4.0
Source revision
cd1a9d68fc9418f02dbf478ffac90f7891fdb53c8a4ac77c2d8284c7b12b6c3d
Original Markdown