add performance testing
This commit is contained in:
@@ -271,5 +271,5 @@ export ETCDCTL_KEY=./certs/client-key.pem; # 3.14.3.102-key.pem
|
|||||||
export ETCDCTL_ENDPOINTS=https://3.14.3.102:2379,https://3.14.3.107:2379,https://3.14.3.103:2379;
|
export ETCDCTL_ENDPOINTS=https://3.14.3.102:2379,https://3.14.3.107:2379,https://3.14.3.103:2379;
|
||||||
etcdctl put foo bar
|
etcdctl put foo bar
|
||||||
etcdctl get foo
|
etcdctl get foo
|
||||||
while true; do etcdctl get foo && sleep 1; done;
|
while true; do etcdctl put foo $(( ( RANDOM % 1000 ) + 1 )) && etcdctl get foo; done;
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user