etcd 容器化运行与etcd直接运行后的压测数据对比
直接运行
INFO: 2019/05/16 16:59:29 ccResolverWrapper: sending new addresses to cc: [{http://0.0.0.0:2379 0 <nil>}] 10000 / 10000 Boooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00% 28s Summary: Total: 28.3731 secs. Slowest: 0.1016 secs. Fastest: 0.0005 secs. Average: 0.0028 secs. Stddev: 0.0023 secs. Requests/sec: 352.4461 Response time histogram: 0.0005 [1] | 0.0106 [9825] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎ 0.0207 [167] | 0.0308 [5] | 0.0410 [0] | 0.0511 [1] | 0.0612 [0] | 0.0713 [0] | 0.0814 [0] | 0.0915 [0] | 0.1016 [1] | Latency distribution: 10% in 0.0018 secs. 25% in 0.0020 secs. 50% in 0.0022 secs. 75% in 0.0026 secs. 90% in 0.0055 secs. 95% in 0.0065 secs. 99% in 0.0120 secs. 99.9% in 0.0185 secs.
容器运行
INFO: 2019/05/16 17:53:26 ccResolverWrapper: sending new addresses to cc: [{http://0.0.0.0:2379 0 <nil>}] 10000 / 10000 Boooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00% 29s Summary: Total: 29.1377 secs. Slowest: 0.0595 secs. Fastest: 0.0007 secs. Average: 0.0029 secs. Stddev: 0.0025 secs. Requests/sec: 343.1982 Response time histogram: 0.0007 [1] | 0.0066 [9477] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎ 0.0125 [353] |∎ 0.0184 [127] | 0.0242 [33] | 0.0301 [6] | 0.0360 [1] | 0.0419 [0] | 0.0478 [0] | 0.0536 [0] | 0.0595 [2] | Latency distribution: 10% in 0.0018 secs. 25% in 0.0020 secs. 50% in 0.0022 secs. 75% in 0.0025 secs. 90% in 0.0055 secs. 95% in 0.0067 secs. 99% in 0.0154 secs. 99.9% in 0.0238 secs.
多次运行后发现真实数据差距不大