The Art of the Meta Stream Protocol: Torrents of Streams

Context 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. Inqu...

Full description

Bibliographic Details
Main Authors: De Meuter, W. (Author), De Troyer, C. (Author), Nicolay, J. (Author)
Format: Article
Language:English
Published: AOSA Inc. 2022
Subjects:
Online Access:View Fulltext in Publisher
LEADER 02318nam a2200217Ia 4500
001 10.22152-programming-journal.org-2022-6-2
008 220425s2022 CNT 000 0 und d
020 |a 24737321 (ISSN) 
245 1 0 |a The Art of the Meta Stream Protocol: Torrents of Streams 
260 0 |b AOSA Inc.  |c 2022 
856 |z View Fulltext in Publisher  |u https://doi.org/10.22152/programming-journal.org/2022/6/2 
520 3 |a Context 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. Inquiry 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. Approach 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. Knowledge We show that the expressiveness of the meta-facilities is strong enough to enable push and pull semantics, error handling, parallelism, and operator fusion. Grounding 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. Importance 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. © Christophe De Troyer, Jens Nicolay, and Wolfgang De Meuter. 
650 0 4 |a extensibility 
650 0 4 |a functional programming 
650 0 4 |a library design 
650 0 4 |a meta-programming 
650 0 4 |a stream processing 
700 1 |a De Meuter, W.  |e author 
700 1 |a De Troyer, C.  |e author 
700 1 |a Nicolay, J.  |e author 
773 |t Art, Science, and Engineering of Programming