Abstract
The rapid growth of Internet of Things (IoT) applications has led to a surge in time-series data, necessitating robust database solutions. While TPCx-IoT is the industry standard for benchmarking these systems, it primarily focuses on ingestion rates, neglecting critical real-world factors like data compression and system scalability. This paper introduces IoTDataBench, an extension of TPCx-IoT designed to address these gaps. By incorporating realistic data generation, scalability testing during active workloads, and redesigned metrics that account for storage costs, IoTDataBench provides a more comprehensive evaluation of IoT database performance in production environments.
Introduction: The Gap in IoT Benchmarking
The primary metric for current IoT benchmarks, such as TPCx-IoT, is the ingestion rate—measuring how quickly a system can write data. However, real-world deployments, such as those in the Shanghai Metro, reveal that raw speed is only part of the equation. High ingestion rates often fail to translate into operational efficiency if storage costs are prohibitive or if the system cannot scale without significant performance degradation.
As shown in Figure 1, a typical metro station gateway must manage diverse data streams (voltage, current, pressure) while maintaining high ingestion rates and supporting real-time analytics. Crucially, these systems must scale on demand and reduce data size to manage costs. Existing benchmarks often overlook these multi-faceted requirements.
Methodology: Extending the TPCx-IoT Framework
IoTDataBench evolves the TPCx-IoT framework in four key dimensions to better reflect production realities:
- Realistic Data Generation: Moving beyond random byte "blobs," IoTDataBench employs stochastic distributions (e.g., Poisson, Pareto) and real-world dataset sampling to mimic actual sensor streams.
- Scalability Testing: The benchmark introduces a "scale-out phase" where new nodes and clients are added mid-test. This measures the system's ability to rebalance data while maintaining performance.
- Expanded Query Workload: It adds complex queries like aggregation (averages, max/min) and down-sampling to the standard time-range lookups.
- Redesigned Metrics: The $IoTps$ (performance) and $/IoTps$ (price-performance) formulas are updated to reward high compression ratios and linear scalability.
As summarized in Figure 6, IoTDataBench fills critical gaps left by benchmarks like TSBS and the original TPCx-IoT, particularly in the areas of scalability and compression.
Evaluation and Results
The authors evaluated IoTDataBench using their open-source middleware, IginX, over Apache IoTDB. Initially, the system achieved a record-breaking 4,116,821 IoTps on the standard TPCx-IoT. However, under the more rigorous IoTDataBench metrics, the evaluation revealed that storage costs dominate the Total Cost of Ownership (TCO) until a compression ratio of at least 10 is reached. Furthermore, the new scalability metrics successfully identified inefficiencies in systems that showed diminishing returns when adding nodes—a nuance missed by the original benchmark.
Conclusion and Future Work
IoTDataBench represents a significant step toward making IoT benchmarks "real-world ready." By treating compression and scalability as first-class citizens, it aligns benchmarking results with the actual pain points of industrial IoT operators. Future work will explore the trade-offs between lossy and lossless compression and address the unique challenges of vertical scaling in distributed time-series databases.
Summary updated