????zookeeper????????????????????????棬?????????μ???????????????request/response 1M???? (size of data / number of znodes)
????zookeeper??watch???????????????zookeeper??????????watch??????????????????????????????????10W???????zookeeper?п?????10W??watch??????????????????zookeeper????д????????????????ж????watch???е?????????watch??Zookeeper-Watcher???????????????
?????????????????????
????zookeeper???????????????????????
????zookeeper????????????watch?????????
???????????
??????3??????????????zookeeper???汾?3.4.3???????????
????Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz
????16G
????java version "1.6.0_32"
????Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
????OpenJDK (Taobao) 64-Bit Server VM (build 20.0-b12-internal?? mixed mode)
???????????JVM???С??????????1/4 RAM??
????java -XX:+PrintFlagsFinal -version | grep HeapSize
???????????????zk-smoketest?????watch??????????????д???????zk-smoketest??д??Щ?????????????????????????????????????????????https://github.com/kevinlynx/zk-benchmark
??????????
????????????д????????

?????????10W?????????1?????????(ops)??

????????????????????????zookeeper??д??????????
????????????С???д????????
??????????????????й??????????????????????????????緽????????????????????????????д???????????????С?