Unknown

Dataset Information

0

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


ABSTRACT: 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.

SUBMITTER: Mamouras K 

PROVIDER: S-EPMC5687100 | biostudies-literature | 2017 Jun

REPOSITORIES: biostudies-literature

altmetric image

Publications

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

Mamouras Konstantinos K   Raghothaman Mukund M   Alur Rajeev R   Ives Zachary G ZG   Khanna Sanjeev S  

Proceedings of the ACM SIGPLAN ... Conference on Programming Language Design and Implementation. ACM SIGPLAN Conference on Programming Language Design and Implementation 20170601 6


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 ex  ...[more]

Similar Datasets

| S-EPMC6764829 | biostudies-literature
| S-EPMC6434014 | biostudies-literature
| S-EPMC6153358 | biostudies-literature
| S-EPMC1347431 | biostudies-literature
| S-EPMC3365321 | biostudies-other
| S-EPMC5547495 | biostudies-other
| S-EPMC5349295 | biostudies-literature
| S-EPMC6298043 | biostudies-literature
| S-EPMC3655485 | biostudies-literature