Performance
ZooKeeper is designed to be highly performant.
But is it? The results of the ZooKeeper's development team at Yahoo! Research indicate that it is.
(See ZooKeeper Throughput as the Read-Write Ratio Varies.)
It is especially high performance in applications where reads outnumber writes,
since writes involve synchronizing the state of all servers.
(Reads outnumbering writes is typically the case for a coordination service.)
The figure ZooKeeper Throughput as the Read-Write Ratio
Varies is a throughput graph of ZooKeeper release 3.2 running on
servers with dual 2Ghz Xeon and two SATA 15K RPM drives.
One drive was used as a dedicated ZooKeeper log device.
The snapshots were written to the OS drive. Write requests were 1K writes and the reads were 1K reads.
"Servers" indicate the size of the ZooKeeper ensemble,
the number of servers that make up the service.
Approximately 30 other servers were used to simulate the clients.
The ZooKeeper ensemble was configured such that leaders do not allow connections from clients.
性能测试: zookeeper 被设计的号称高性能框架,但是事实情况如何呢?