How does OpenTSDB work?
OpenTSDB是怎么工作的?
OpenTSDB requires you to run one or more Time Series Daemons (TSDs). Each TSD is independent. There is no master, no shared state. The TSD uses HBase to store and retrieve time-series data. Users of the TSD never need to access HBase directly. You can communicate with the TSD via a simple telnet-style protocol, and via HTTP. An additional proper binary RPC protocol is in the works. All communications happen on the same port (the TSD figures out the protocol of the client by looking at the first few bytes it receives).
OpenTSDB要求你去跑一个或多个时间序列守护进程(TSDs),每个TSD都是独立的, 它们没有主从关系,且不共享。TSD使用HBase去存储和回收时间序列数据,TSD的用户从来不需要去直接访问HBase。你可以通过一种简单的远程登录式的协议和通过HTTP协议去和TSD通信。另外一种适当的二进制的RPC协议也在工作中。所有通信都发生在同一个端口(TSD通过查看其接收到的前几个字节来计算出客户的协议)。