Patroni
Version v3.3 of the documentation is no longer actively maintained. The page that you are viewing is the last archived version. For the latest stable documentation, see v3.5.
Benchmarking etcd v3
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
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.
Last modified August 17, 2021: fix links in 3.3 (#448) (30938c5)