StreamQRE: modular specification and efficient evaluation of quantitative queries over streaming data
StreamQRE: modular specification and efficient evaluation of quantitative queries over streaming data
复制标题
StreamQRE:流数据定量查询的模块化规范和高效评估
DOI:
10.1145/3062341.3062369
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Khanna, Sanjeev
中科院分区:
文献类型:
--
作者:
Mamouras, Konstantinos;Raghothaman, Mukund;Alur, Rajeev;Ives, Zachary G.;Khanna, Sanjeev
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.
登录
查看更多内容
影响因子:
0.8
作者:
Margus Veanes;Pieter Hooimeijer;B. Livshits;D. Molnar;Nikolaj S. Bjørner
通讯作者:
Margus Veanes;Pieter Hooimeijer;B. Livshits;D. Molnar;Nikolaj S. Bjørner
DOI:
--
发表时间:
2010
期刊:
影响因子:
--
作者:
平岡孝浩(大橋裕一;編);平岡孝浩;平岡孝浩;平岡孝浩;平岡孝浩
通讯作者:
平岡孝浩
DOI:
--
发表时间:
2014
期刊:
European Conference on Object-Oriented Programming
影响因子:
--
作者:
M. Vaziri;O. Tardieu;Rodric M. Rabbah;Philippe Suter;Martin Hirzel
通讯作者:
Martin Hirzel
DOI:
10.1145/2837614.2837647
发表时间:
2016
期刊:
Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
影响因子:
--
作者:
Niels Bjørn Bugge Grathwohl;F. Henglein;U. Rasmussen;Kristoffer Aalund Søholm;Sebastian Paaske Tørholm
通讯作者:
Sebastian Paaske Tørholm
影响因子:
4.2
作者:
Arasu, A;Babu, S;Widom, J
通讯作者:
Widom, J