首页> 美国卫生研究院文献>other >StreamQRE: Modular Specification and Efficient Evaluation of Quantitative Queries over Streaming Data
【2h】

StreamQRE: Modular Specification and Efficient Evaluation of Quantitative Queries over Streaming Data

机译:StreamQRE:流数据上的定量查询的模块化规范和有效评估

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Real-time decision making in emerging IoT applications typically relies on computing quantitative summaries of large data streams in an efficient and incremental manner. To simplify the task of programming the desired logic, we propose StreamQRE, which provides natural and high-level constructs for processing streaming data. Our language has a novel integration of linguistic constructs from two distinct programming paradigms: streaming extensions of relational query languages and quantitative extensions of regular expressions. The former allows the programmer to employ relational constructs to partition the input data by keys and to integrate data streams from different sources, while the latter can be used to exploit the logical hierarchy in the input stream for modular specifications.We first present the core language with a small set of combinators, formal semantics, and a decidable type system. We then show how to express a number of common patterns with illustrative examples. Our compilation algorithm translates the high-level query into a streaming algorithm with precise complexity bounds on per-item processing time and total memory footprint. We also show how to integrate approximation algorithms into our framework. We report on an implementation in Java, and evaluate it with respect to existing high-performance engines for processing streaming data. Our experimental evaluation shows that (1) StreamQRE allows more natural and succinct specification of queries compared to existing frameworks, (2) the throughput of our implementation is higher than comparable systems (for example, two-to-four times greater than RxJava), and (3) the approximation algorithms supported by our implementation can lead to substantial memory savings.
机译:新兴物联网应用中的实时决策通常依赖于以高效且递增的方式计算大型数据流的定量汇总。为了简化对所需逻辑进行编程的任务,我们提出了StreamQRE,它提供了用于处理流数据的自然且高级的构造。我们的语言从两种截然不同的编程范例中将语言结构进行了新颖的集成:关系查询语言的流扩展和正则表达式的定量扩展。前者允许程序员使用关系构造来按键划分输入数据并集成来自不同来源的数据流,而后者则可用于利用输入流中的逻辑层次结构进行模块化规范。首先,我们介绍核心语言带有少量的组合器,形式语义和可判定的类型系统。然后,我们将通过示例说明如何表达许多常见模式。我们的编译算法将高级查询转换为流式算法,并在每个项目的处理时间和总内存占用量方面具有精确的复杂度范围。我们还将展示如何将近似算法集成到我们的框架中。我们报告Java的实现,并针对用于处理流数据的现有高性能引擎对其进行评估。我们的实验评估表明:(1)与现有框架相比,StreamQRE允许更自然和简洁的查询规范;(2)我们实现的吞吐量比同类系统要高(例如,比RxJava大两倍至四倍), (3)我们的实现所支持的近似算法可以节省大量内存。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号