arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1605.01435cs.DB
收藏

一种快速轻量级的IoT数据时序存储

A Fast Lightweight Time-Series Store for IoT Data

Daniel G. Waddington, Changhui Lin

摘要:

随着物联网(IoT)的出现,处理大量时间序列数据已成为一个日益关注的问题。来自数百万互联网连接传感器的数据将推动新的物联网应用和服务。一个关键的要求是能够以最小的延迟聚合、预处理、索引、存储和分析数据,从而缩短洞察时间。在未来,我们期望实时数据汇集和分析都能在小型设备上进行(例如,在集线器和设备中)以及在基于服务器的基础设施中。将敏感数据本地化到家庭并因此保护隐私的能力是小型设备部署的关键驱动力。在本文中,我们提出了一个有效的体系结构的时间序列数据管理,提供了一个高的数据摄取率,同时仍然是足够的轻量级,它可以部署在嵌入式环境或小型虚拟机。我们的解决方案致力于最大限度地减少开销,并探索在没有复杂索引方案的情况下可以做些什么,由于性能原因,这些索引方案通常必须保存在主存中。我们将简单的内存层次索引、日志结构存储和动态排序与针对多核平台优化的高性能数据管道架构相结合。我们表明,我们的解决方案是能够处理超过每秒400万条记录的流插入(在一个单一的x86服务器),同时仍然保留SQL查询性能优于或媲美现有的RDBMS。

英文摘要:

With the advent of the Internet-of-Things (IoT), handling large volumes of time-series data has become a growing concern. Data, generated from millions of Internet-connected sensors, will drive new IoT applications and services. A key requirement is the ability to aggregate, preprocess, index, store and analyze data with minimal latency so that time-to-insight can be reduced. In the future, we expect real-time data collection and analysis to be performed both on small devices (e.g., in hubs and appliances) as well in server-based infrastructure. The ability to localize sensitive data to the home, and thus preserve privacy, is a key driver for small-device deployment. In this paper, we present an efficient architecture for time-series data management that provides a high data ingestion rate, while still being sufficiently lightweight that it can be deployed in embedded environments or small virtual machines. Our solution strives to minimize overhead and explores what can be done without complex indexing schemes that typically, for performance reasons, must be held in main memory. We combine a simple in-memory hierarchical index, log-structured store and in-flight sort, with a high-performance data pipeline architecture that is optimized for multicore platforms. We show that our solution is able to handle streaming insertions at over 4 million records per second (on a single x86 server) while still retaining SQL query performance better than or comparable to existing RDBMS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑