The Design of Apache IoTDB Distributed Framework

Tianan LI,Xiangdong HUANG,Jianmin WANG,Dongfang MAO,Yi XU,Jun YUAN
DOI: https://doi.org/10.1360/ssi-2019-0189
2020-01-01
Scientia Sinica Informationis
Abstract:Apache Internet of Things Database (IoTDB) is a new open-source timeseries database management system. A distributed data management system not only needs to solve the problem of metadata synchronization between nodes caused by data partition and multiple replicas, but also needs to support efficient query request processing. To solve the problem of metadata synchronization among nodes, we propose a dual-layer granularity metadata management strategy. Based on the consistency hash partitioning method and Raft protocol, we designed a distributed framework that supports both strong consistency query and eventual consistency query. Based on the single-machine version of Apache IoTDB, we carried out the system implementation and experimental test. Compared with the single-level granularity management strategy, the test results showed that the two-level granularity metadata management strategy takes less memory resources and improves the write performance by $5%\\sim10%$. Also, the results showed that the read and write performance of the distributed Apache IoTDB increases linearly with the extension of cluster size.
What problem does this paper attempt to address?