The Art of the Meta Stream Protocol: Torrents of Streams

07/15/2021
by   Christophe De Troyer, et al.
0

The rise of streaming libraries such as Akka Stream, Reactive Extensions, and LINQ popularized the declarative functional style of data processing. The stream paradigm offers concise syntax to write down processing pipelines to consume the vast amounts of real-time data available today. These libraries offer the programmer a domain specific language (DSL) embedded in the host language to describe data streams. These libraries however, all suffer from extensibility issues. The semantics of a stream is hard-coded into the DSL language and cannot be changed by the user of the library. We introduce an approach to modify the semantics of a streaming library by means of meta-programming at both run-time and compile-time, and showcase its generality. We show that the expressiveness of the meta-facilities is strong enough to enable push and pull semantics, error handling, parallelism, and operator fusion. We evaluate our work by implementing the identified shortcomings in terms of a novel stream meta-architecture and show that its design and architecture adhere to the design principles of a meta-level architecture. The state of the art offers plenty of choice to programmers regarding reactive stream processing libraries. Expressing reactive systems is otherwise difficult to do in general purpose languages. Extensibility and fine-tuning should be possible in these libraries to ensure a broad variety of applications can be expressed within this single DSL.

READ FULL TEXT

page 7

page 14

page 30

page 32

page 33

page 34

page 35

page 36

research
11/24/2022

Highest-performance Stream Processing

We present the stream processing library that achieves the highest perfo...
research
02/28/2019

Fast Concurrent Data Sketches

Data sketches are approximate succinct summaries of long streams. They a...
research
03/01/2023

On the Semantic Overlap of Operators in Stream Processing Engines

Stream processing is extensively used in the IoT-to-Cloud spectrum to di...
research
11/10/2022

Colocating Real-time Storage and Processing: An Analysis of Pull-based versus Push-based Streaming

Real-time Big Data architectures evolved into specialized layers for han...
research
05/04/2018

SecureStreams: A Reactive Middleware Framework for Secure Data Stream Processing

The growing adoption of distributed data processing frameworks in a wide...
research
08/03/2023

Density-Based Semantics for Reactive Probabilistic Programming

Synchronous languages are now a standard industry tool for critical embe...
research
06/16/2021

mPyPl: Python Monadic Pipeline Library for Complex Functional Data Processing

In this paper, we present a new Python library called mPyPl, which is in...

Please sign up or login with your details

Forgot password? Click here to reset