Skip to main content
QUICK REVIEW

[Paper Review] TritanDB: Time-series Rapid Internet of Things Analytics

Eugene Siow, Thanassis Tiropanis|arXiv (Cornell University)|Jan 24, 2018
Time Series Analysis and ForecastingComputer Science24 references6 citations
TL;DR

TritanDB is a novel time-series database optimized for Internet of Things (IoT) workloads, combining efficient compression and storage structures with a lightweight query translation layer to enable high-performance analytics on both resource-constrained devices and cloud systems. It achieves up to an order of magnitude performance improvement over state-of-the-art databases in IoT scenarios while supporting RDF-based data integration with minimal runtime overhead.

ABSTRACT

The efficient management of data is an important prerequisite for realising the potential of the Internet of Things (IoT). Two issues given the large volume of structured time-series IoT data are, addressing the difficulties of data integration between heterogeneous Things and improving ingestion and query performance across databases on both resource-constrained Things and in the cloud. In this paper, we examine the structure of public IoT data and discover that the majority exhibit unique flat, wide and numerical characteristics with a mix of evenly and unevenly-spaced time-series. We investigate the advances in time-series databases for telemetry data and combine these findings with microbenchmarks to determine the best compression techniques and storage data structures to inform the design of a novel solution optimised for IoT data. A query translation method with low overhead even on resource-constrained Things allows us to utilise rich data models like the Resource Description Framework (RDF) for interoperability and data integration on top of the optimised storage. Our solution, TritanDB, shows an order of magnitude performance improvement across both Things and cloud hardware on many state-of-the-art databases within IoT scenarios. Finally, we describe how TritanDB supports various analyses of IoT time-series data like forecasting.

Motivation & Objective

  • To address performance bottlenecks in IoT time-series data management on both edge devices and cloud platforms.
  • To improve data integration across heterogeneous IoT devices by enabling efficient use of the RDF data model for interoperability.
  • To identify optimal compression techniques and storage structures tailored to the unique characteristics of IoT time-series data.
  • To design a query translation layer that minimizes runtime overhead when executing SPARQL queries on optimized time-series storage.
  • To support advanced analytical operations such as forecasting and aggregation on time-series data with high efficiency.

Proposed method

  • Analyzes public IoT datasets to identify common characteristics: flat, wide, numerical, and mixed-spaced time-series.
  • Evaluates state-of-the-art time-series database techniques, focusing on compression and indexing for performance.
  • Designs a custom storage engine using optimized data structures and compression to reduce I/O and improve query throughput.
  • Implements a lightweight SPARQL-to-TritanDB operator translation layer that maps SPARQL algebra to efficient time-series operations.
  • Supports RDF-based data modeling for interoperability while minimizing performance impact through selective query processing.
  • Uses a Map-Match-Operate pipeline where 'operate' maps SPARQL algebra operators to native TritanDB operations like join, filter, aggregate, and sort on time-series data.

Experimental results

Research questions

  • RQ1What are the dominant structural characteristics of real-world IoT time-series data, and how can they be exploited for efficient storage and query processing?
  • RQ2Which compression techniques and data structures yield the best performance for time-series data in both constrained and cloud environments?
  • RQ3Can RDF-based data modeling be efficiently supported in a high-performance time-series database without sacrificing query performance?
  • RQ4How can SPARQL queries be translated into efficient operations on time-series data with minimal runtime overhead on resource-constrained devices?
  • RQ5To what extent can a unified database system achieve high performance across both edge devices and cloud deployments for IoT analytics?

Key findings

  • TritanDB achieves an order of magnitude performance improvement over state-of-the-art databases on both edge and cloud hardware in IoT workloads.
  • The use of optimized storage structures and compression techniques significantly reduces I/O and improves query throughput, especially for time-range and aggregation queries.
  • The SPARQL query translation layer introduces negligible runtime overhead, enabling efficient execution of complex queries even on resource-constrained devices.
  • The system supports rich data modeling via RDF with minimal performance impact, enabling interoperability across heterogeneous IoT systems.
  • TritanDB natively supports advanced analytical operations such as forecasting, grouping, and aggregation through efficient time-series-aware operators.
  • Benchmark results show TritanDB outperforms systems like MongoDB, Cassandra, OpenTSDB, and Elasticsearch across multiple query types and data volumes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.