sudo apt-get install python-zookeeper
git clone https://github.com/phunt/zk-smoketest.git
cd zk-smoketest
$ ./zk-smoketest.py "localhost:2181"
$ ./zk-latencies.py "localhost:2181"
Connecting to localhost:2181
Connected in 265 ms, handle is 0
Testing latencies on server localhost:2181 using asynchronous calls
created 10000 permanent znodes in 688 ms (0.068877 ms/op
14518.739031/sec)
set 10000 znodes in 672 ms (0.067272 ms/op
14865.110846/sec)
get 10000 znodes in 736 ms (0.073696 ms/op
13569.254311/sec)
deleted 10000 permanent znodes in 819 ms (0.081967 ms/op
12200.046481/sec)
created 10000 ephemeral znodes in 835 ms (0.083580 ms/op
11964.568731/sec)
watched 10000 znodes in 521 ms (0.052136 ms/op
19180.607497/sec)
deleted 10000 ephemeral znodes in 857 ms (0.085795 ms/op
11655.636206/sec)
notif 10000 watches in 0 ms (included in prior)
Latency test complete
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
|