2018
Conference article  Closed Access

Spinstreams: A static optimization tool for data stream processing applications

Mencagli G., Dazzi P., Tonci N.

Operator Fission  Data Stream Processing  Operator Fusion  Backpressure  Akka 

The ubiquity of data streams in different fields of computing has led to the emergence of Stream Processing Systems (SPSs) used to program applications that extract insights from unbounded sequences of data items. Streaming applications demand various kinds of optimizations. Most of them are aimed at increasing throughput and reducing processing latency, and need cost models used to analyze the steady-state performance by capturing complex aspects like backpressure and bottleneck detection. In those systems, the tendency is to support dynamic optimizations of running applications which, although with a substantial run-time overhead, are unavoidable in case of unpredictable workloads. As an orthogonal direction, this paper proposes SpinStreams, a static optimization tool able to leverage cost models that programmers can use to detect and understand the inefficiencies of an initial application design. SpinStreams suggests optimizations for restructuring applications by generating code to be run on the SPS. We present the theory behind our optimizations, which cover more general classes of application structures than the ones studied in the literature so far. Then, we assess the accuracy of our models in Akka, an actor-based streaming framework providing a Java and Scala API.

Source: Middleware '18: 19th International Middleware Conference, pp. 66–79, Rennes, France, 10-14 December, 2018


Metrics



Back to previous page
BibTeX entry
@inproceedings{oai:it.cnr:prodotti:424438,
	title = {Spinstreams: A static optimization tool for data stream processing applications},
	author = {Mencagli G. and Dazzi P. and Tonci N.},
	doi = {10.1145/3274808.3274814},
	booktitle = {Middleware '18: 19th International Middleware Conference, pp. 66–79, Rennes, France, 10-14 December, 2018},
	year = {2018}
}