APB-tree: An Adaptive Pre-built Tree Indexing Scheme for NVM-based IoT Systems

Shih-Wen HSU, Yen-Ting CHEN*, Kam-Yiu LAM, Yuan-Hao CHANG*, Wei-Kuan SHIH, Han-Chieh CHAO

*Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

With the proliferation of sensors and the emergence of novel applications, IoT data has grown exponentially in recent years. Given this trend, efficient data management is crucial for a system to easily access vast amounts of information. For decades, B+-tree-based indexing schemes have been widely adopted for providing effective search in IoT systems. However, in systems with pre-distributed sensors, B+-tree-based indexes fail to optimally utilize the known IoT data distribution, leading to significant write overhead and energy consumption. Furthermore, as non-volatile memory (NVM) technology emerges as the alternative storage medium, the inherent write asymmetry of NVM leads to instability issues in IoT systems, especially for write-intensive applications. In this research, by considering the write overheads of tree-based indexing schemes and key-range distribution assumption, we rethink the design of the tree-based indexing schemes and propose an adaptive pre-built tree (APB-tree) indexing scheme to reduce the write overhead in serving insertion and deletion of keys in the NVM-based IoT system. The APB-tree profiles the hot region of the key distribution from the known key range to pre-allocate the index structure that alleviates online index management costs and runtime index overhead. Meanwhile, the APB-tree maintains the scalability of a tree-based index structure to accommodate the large amount of new data brought by the additional nodes to the IoT system. Extensive experiments demonstrate that our solution achieves significant performance improvements in write operations while maintaining effective energy consumption in the NVM-based IoT system. We compare the energy and time required for basic key operations such as Put(), Get(), and Delete() in APB-trees and B+-tree-based indexing schemes. Under workloads with varying ratios of these operations, the proposed design effectively reduces execution time by 47% to 72% and energy consumption by 11% to 72% compared to B+-tree-based indexing schemes. © 2025 Copyright held by the owner/author(s). Publication rights licensed to ACM.
Original languageEnglish
Article number29
JournalACM Transactions on Embedded Computing Systems
Volume24
Issue number2
Online published11 Jan 2025
DOIs
Publication statusPublished - Mar 2025

Funding

This work was supported in part by Academia Sinica under grant no. AS-IA-111-M01 and National Science and Technology Council under grant nos. 111-2221-E-001-013-MY3, 111-2923-E-002-014-MY3, 112-2222-E-002-009-MY3, 112-2223-E-001-001, and 113-2927-I-001-502.

Research Keywords

  • Additional Key Words and PhrasesIoT
  • indexing scheme
  • key-value
  • PCM
  • ReRAM
  • STT-RAM

Fingerprint

Dive into the research topics of 'APB-tree: An Adaptive Pre-built Tree Indexing Scheme for NVM-based IoT Systems'. Together they form a unique fingerprint.

Cite this