OpenTSDB/opentsdb — pull request #131 by octo47 (2012-11-09 09:57:30+00:00)
Title: A small patch, I've introduced different clients for read/write and pure write operations

AsyncHbase is a great library, but as most async things has some drawbacks. One of it: it is hard to mix buffered write-only operations and read/write operations. Read operations need low latency, obviously, low latency not compatible with big buffers.
Main TSDB class uses one client for all operations, read and write, so in case of read operations buffers are flushed prematurely. Thats lead to relatively bad performance.

In my small patch, I've introduced different clients for read/write and pure write operations. On my small cluster immediately, I've got 3x performance gain (from 25k row/sec up to peak 80k row/sec (250k rows/sec peak) on 3 hosts cluster).

This patch includes previous Zookeeper patch, if this pull applicable, I can port it on current master.