Benchmarking etcd v2.2.0-rc-memory
- 1x dedicated local SSD mounted under /var/lib/etcd
- 1x dedicated slow disk for the OS
- 2x CPUs
- etcd may use maximal memory if one follower is dead and the leader keeps sending snapshots.
- is the maximal memory usage recorded in 3 runs.
- For most cases, the etcd cluster should work smoothly if it doesn’t hit the threshold. If it doesn’t work well due to insufficient resources, decrease its data size.
value bytes | key number limitation | suggested data size threshold(MB) | consumed RSS(MB) |
---|---|---|---|
128 | 400K | 48 | 2400 |
1024 | 300K | 292 | 6500 |